mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
fix: disallow corepack from fetching latest manager version instead use specified version in package.json
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user