Skip to content

Commit 7a11384

Browse files
authored
fix: build/publish Dockerfile python installation issues
* fix: install python2 in follower.Dockerfile * fix: select python2 in Dockerfile
1 parent 67553ff commit 7a11384

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM node:14-alpine
33
WORKDIR /app
44
COPY . .
55

6-
RUN apk add --no-cache --virtual .build-deps alpine-sdk python git openjdk8-jre
6+
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre
77
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
88
RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production
99
RUN apk del .build-deps

follower.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM node:14-alpine as build
33
WORKDIR /app
44
COPY . .
5-
RUN apk add --no-cache --virtual .build-deps alpine-sdk python git openjdk8-jre
5+
RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre
66
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
77
RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production
88

0 commit comments

Comments
 (0)