Skip to content

Commit

Permalink
chore: python3 instead of python2
Browse files Browse the repository at this point in the history
  • Loading branch information
tshuli committed Sep 24, 2020
1 parent afbc789 commit 56df4d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk update && apk upgrade && \
# Build dependencies for node_modules
apk add --virtual native-deps \
# Python version must be specified starting in alpine3.12
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python2 git curl \
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python3 git curl \
# Runtime dependencies
# Note that each alpine version supports a specific version of chromium
# Note that chromium and puppeteer-core are released together and it is the only version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:12.18.4-alpine3.12 AS node-modules-builder
# Python version must be specified starting in alpine3.12
RUN apk update && apk upgrade && \
apk --no-cache add --virtual native-deps \
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python2 git curl && \
g++ gcc libgcc libstdc++ linux-headers autoconf automake make nasm python3 git curl && \
npm install --quiet node-gyp -g
WORKDIR /opt/formsg
COPY package* /opt/formsg/
Expand Down

0 comments on commit 56df4d3

Please sign in to comment.