diff options
| author | Marie <github@yuugi.dev> | 2025-02-03 09:04:04 +0000 |
|---|---|---|
| committer | Marie <github@yuugi.dev> | 2025-02-03 09:04:04 +0000 |
| commit | 6bc0cd251fd3bbf9d1f65842ef28b24fb4fa17ee (patch) | |
| tree | d11388c7f5093fdfef61d931a9b85d7ea3ce8f11 | |
| parent | merge: Adding robots.txt override via admin control panel for #418 (!877) (diff) | |
| parent | chore(ci): remove deprecated enable command (diff) | |
| download | sharkey-6bc0cd251fd3bbf9d1f65842ef28b24fb4fa17ee.tar.gz sharkey-6bc0cd251fd3bbf9d1f65842ef28b24fb4fa17ee.tar.bz2 sharkey-6bc0cd251fd3bbf9d1f65842ef28b24fb4fa17ee.zip | |
merge: Use package manager version from package.json (!883)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/883
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
| -rw-r--r-- | .gitlab-ci.yml | 3 | ||||
| -rw-r--r-- | Dockerfile | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0f4d94948..ab51d5cdff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,12 +10,13 @@ testCommit: - redis variables: POSTGRES_PASSWORD: ci + COREPACK_DEFAULT_TO_LATEST: 0 script: - apt-get update && apt-get install -y git wget curl build-essential python3 ffmpeg - cp .config/ci.yml .config/default.yml - cp .config/ci.yml .config/test.yml - corepack enable - - corepack prepare pnpm@latest --activate + - corepack install - git submodule update --init - pnpm install --frozen-lockfile - pnpm run build 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 \ |