Skip to content

Commit

Permalink
Fix ARM build with python link (#1358)
Browse files Browse the repository at this point in the history
Co-authored-by: Pierre-Gilles Leymarie <pierregilles.leymarie@gmail.com>
  • Loading branch information
atrovato and Pierre-Gilles authored Nov 11, 2021
1 parent c8d87e2 commit d389a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ADD . /src
COPY ./static /src/server/static
WORKDIR /src/server
RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 git libffi-dev linux-headers \
&& ln -s /usr/bin/python3 /usr/bin/python && ln -s /usr/bin/pip3 /usr/bin/pip \
&& npm ci --unsafe-perm --production \
&& npm cache clean --force \
&& apk del .build-deps
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile.buildx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ENV LD_LIBRARY_PATH /lib
WORKDIR /src/server

RUN apk add --no-cache --virtual .build-deps make gcc g++ python3 git libffi-dev linux-headers \
&& ln -s /usr/bin/python3 /usr/bin/python && ln -s /usr/bin/pip3 /usr/bin/pip \
&& npm ci --unsafe-perm --production \
&& npm cache clean --force \
&& apk del .build-deps
Expand Down

0 comments on commit d389a14

Please sign in to comment.