Skip to content

Commit

Permalink
Fix container building on armv7l
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev authored and hifi committed Nov 28, 2022
1 parent a69e918 commit 779687a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -7,7 +7,10 @@ WORKDIR /opt/heisenbridge
COPY . .

# install deps and run a sanity check
RUN apk add --no-cache --virtual build-dependencies py3-setuptools py3-pip && \
#
# `python3-dev gcc musl-dev` are installed because building `multidict`
# on armv7l fails otherwise. amd64 and aarch64 don't need this.
RUN apk add --no-cache --virtual build-dependencies py3-setuptools py3-pip python3-dev gcc musl-dev && \
python setup.py gen_version && \
rm -rf .git && \
pip install -e . && \
Expand Down

0 comments on commit 779687a

Please sign in to comment.