Open komali2 opened 3 months ago
This is the entire process trace,
WARN[0000] /srv/briefkasten/docker-compose.yml: `version` is obsolete
[+] Building 127.5s (13/24) docker:default
=> [app internal] load build definition from Dockerfile 1.0s
=> => transferring dockerfile: 2.64kB 0.0s
=> [app internal] load metadata for docker.io/library/node:16-bullseye-slim 3.5s
=> [app internal] load .dockerignore 1.0s
=> => transferring context: 132B 0.0s
=> [app internal] load build context 1.8s
=> => transferring context: 9.26MB 0.1s
=> [app release 1/11] FROM docker.io/library/node:16-bullseye-slim@sha256:503446c15c6236291 12.4s
=> => resolve docker.io/library/node:16-bullseye-slim@sha256:503446c15c6236291222f8192513c2eb 0.4s
=> => sha256:503446c15c6236291222f8192513c2eb56a02a8949cbadf4fe78cce19815c734 1.21kB / 1.21kB 0.0s
=> => sha256:d0612de981085d97da2a3e65ee77e806063f4238262d6f5855fd6564584cf1c0 1.37kB / 1.37kB 0.0s
=> => sha256:f80a45ab55721b8e227d977a3856e2c4ab980b8ce315baa6dcc1955d8c82f4ad 7.02kB / 7.02kB 0.0s
=> => sha256:5817cb8b5faee5b037dc1b1a25670036e61e72dff91fc18728fd8d9d853008 35.27MB / 35.27MB 2.6s
=> => sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a 31.42MB / 31.42MB 1.3s
=> => sha256:b323a342d564a85ae7fd1b6120c0240d13565c338821cfd9afcfc863a8a272e9 4.18kB / 4.18kB 1.1s
=> => sha256:8535a7dc8bd99abef8f392aad1c7fd8870a97c3369527e6f579b7b8bd1e43f5b 2.76MB / 2.76MB 1.9s
=> => sha256:a5e8db731e106a1204ec7511c3dc15a35308f3002646de7db57b2dd22df4ed44 453B / 453B 2.0s
=> => extracting sha256:7d97e254a0461b0a30b3f443f1daa0d620a3cc6ff4e2714cc1cfd96ace5b7a7e 1.1s
=> => extracting sha256:b323a342d564a85ae7fd1b6120c0240d13565c338821cfd9afcfc863a8a272e9 0.0s
=> => extracting sha256:5817cb8b5faee5b037dc1b1a25670036e61e72dff91fc18728fd8d9d85300853 0.9s
=> => extracting sha256:8535a7dc8bd99abef8f392aad1c7fd8870a97c3369527e6f579b7b8bd1e43f5b 0.5s
=> => extracting sha256:a5e8db731e106a1204ec7511c3dc15a35308f3002646de7db57b2dd22df4ed44 0.0s
=> [app release 2/11] WORKDIR /app 1.5s
=> [app release 3/11] RUN apt-get update && apt-get install -y openssl 14.4s
=> [app dependencies 3/6] RUN npm install -g pnpm; pnpm --version; pnpm setup; mkdir -p 5.1s
=> [app dependencies 4/6] RUN apt-get update && apt-get install -y python3 make g++ 88.7s
=> [app release 4/11] RUN npm install -g pnpm; pnpm --version; pnpm setup; mkdir -p /u 3.1s
=> [app release 5/11] RUN pnpm setup; addgroup --system --gid 1001 nodejs; adduser --syste 5.5s
=> [app dependencies 5/6] COPY package.json pnpm-lock.yaml prisma ./ 9.8s
=> ERROR [app dependencies 6/6] RUN pnpm install --frozen-lockfile 2.5s
------
> [app dependencies 6/6] RUN pnpm install --frozen-lockfile:
1.957 ERROR: This version of pnpm requires at least Node.js v18.12
1.957 The current version of Node.js is v16.20.2
1.957 Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.
------
failed to solve: process "/bin/sh -c pnpm install --frozen-lockfile" did not complete successfully: exit code: 1
same issue for me
Describe the bug
If one clones the repo, edits
.env
as per the README instructions, and then runsdocker compose up -d
, the following error causes a failure:I think this is a failure within the docker container, since my node version on this machine is, apparently,
v12.22.9
, (and I don't havenvm
installed) so, it seems isolated from this incident.Reproduction
On current version of repo, run
docker compose up -d
System Info