diff options
| author | Marie <github@yuugi.dev> | 2025-02-03 01:13:21 +0000 |
|---|---|---|
| committer | Marie <github@yuugi.dev> | 2025-02-03 01:13:21 +0000 |
| commit | 5afa3ea8aa78c7bd660c863879a953ab57711acb (patch) | |
| tree | 92809bf27325f14af1a4fae1b5f78df2a4d17a4b /Dockerfile | |
| parent | merge: Adding robots.txt override via admin control panel for #418 (!877) (diff) | |
| download | sharkey-5afa3ea8aa78c7bd660c863879a953ab57711acb.tar.gz sharkey-5afa3ea8aa78c7bd660c863879a953ab57711acb.tar.bz2 sharkey-5afa3ea8aa78c7bd660c863879a953ab57711acb.zip | |
fix: disallow corepack from fetching latest manager version instead use specified version in package.json
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 8f7f8c0805..aff4074079 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ FROM node:${NODE_VERSION} as build RUN apk add git linux-headers build-base ENV PYTHONUNBUFFERED=1 +ENV COREPACK_DEFAULT_TO_LATEST=0 RUN apk add --update python3 && ln -sf python3 /usr/bin/python RUN apk add py3-pip py3-setuptools @@ -35,6 +36,7 @@ FROM node:${NODE_VERSION} ARG UID="991" ARG GID="991" +ENV COREPACK_DEFAULT_TO_LATEST=0 RUN apk add ffmpeg tini jemalloc \ && corepack enable \ |