I would like to avoid the following error. what should be the right way to do that. I could try to fix it by using python2-2.7.18-r0 instead of 2.7.16-r3. But the question is: will it be the future proof?
ERROR: unsatisfiable constraints:
python2-2.7.18-r0:
breaks: world[python=2.7.16-r3]
ERROR: Service 'frontend' failed to build: The command '/bin/sh -c apk add --no-cache make==4.2.1-r2 python=2.7.16-r3 g++=9.2.0-r4' returned a non-zero code: 1
Here is my Dockerfile:
FROM node:current-alpine as app-builder
ARG NODE_ENV
ENV NODE_ENV ${NODE_ENV}
RUN apk add --no-cache make==4.2.1-r2 python=2.7.16-r3 g++=9.2.0-r4
RUN mkdir -p /app
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build