From 7bc217a40fee5ba3fb65aa4608867b60c88978ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20C=C3=A1rdenas?= Date: Wed, 10 Nov 2021 10:04:59 -0600 Subject: [PATCH] fix: build/publish Dockerfile python installation issues * fix: install python2 in follower.Dockerfile * fix: select python2 in Dockerfile --- Dockerfile | 2 +- follower.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08d60d8d..2ef93955 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:14-alpine WORKDIR /app COPY . . -RUN apk add --no-cache --virtual .build-deps alpine-sdk python git openjdk8-jre +RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production RUN apk del .build-deps diff --git a/follower.Dockerfile b/follower.Dockerfile index 4eb1d5f2..dcb6f38a 100644 --- a/follower.Dockerfile +++ b/follower.Dockerfile @@ -2,7 +2,7 @@ FROM node:14-alpine as build WORKDIR /app COPY . . -RUN apk add --no-cache --virtual .build-deps alpine-sdk python git openjdk8-jre +RUN apk add --no-cache --virtual .build-deps alpine-sdk python2 git openjdk8-jre RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env RUN npm config set unsafe-perm true && npm install && npm run build && npm prune --production