fix: disallow corepack from fetching latest manager version instead use specified version in package.json
This commit is contained in:
parent
d0ddfca96f
commit
5afa3ea8aa
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ FROM node:${NODE_VERSION} as build
|
||||||
RUN apk add git linux-headers build-base
|
RUN apk add git linux-headers build-base
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
ENV COREPACK_DEFAULT_TO_LATEST=0
|
||||||
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
|
RUN apk add --update python3 && ln -sf python3 /usr/bin/python
|
||||||
RUN apk add py3-pip py3-setuptools
|
RUN apk add py3-pip py3-setuptools
|
||||||
|
|
||||||
|
@ -35,6 +36,7 @@ FROM node:${NODE_VERSION}
|
||||||
|
|
||||||
ARG UID="991"
|
ARG UID="991"
|
||||||
ARG GID="991"
|
ARG GID="991"
|
||||||
|
ENV COREPACK_DEFAULT_TO_LATEST=0
|
||||||
|
|
||||||
RUN apk add ffmpeg tini jemalloc \
|
RUN apk add ffmpeg tini jemalloc \
|
||||||
&& corepack enable \
|
&& corepack enable \
|
||||||
|
|
Loading…
Add table
Reference in a new issue