sionneau@ysionneau-XPS-13-9350:~/patchwork$ docker-compose up --build
WARN[0000] Docker Compose is configured to build using Bake, but buildx isn't installed
[+] Building 2.1s (6/14) docker:default
=> [web internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.24kB 0.0s
=> [web internal] load metadata for ghcr.io/getpatchwork/pyenv:latest 1.6s
=> [web internal] load .dockerignore 0.0s
=> => transferring context: 70B 0.0s
=> [web internal] load build context 0.1s
=> => transferring context: 3.83kB 0.0s
=> [web 1/10] FROM ghcr.io/getpatchwork/pyenv:latest@sha256:dbf3916ecbd3bf82ff5416796787c630e5576c6382ca94a4 0.1s
=> => resolve ghcr.io/getpatchwork/pyenv:latest@sha256:dbf3916ecbd3bf82ff5416796787c630e5576c6382ca94a49195d2 0.0s
=> => sha256:a08306cf4e7b538f82c2e3b107f865b4f2f7cf21dd8fdbd310936be59c2d6eff 1.25kB / 1.25kB 0.0s
=> => sha256:d6308b0f6550d9b82f9c73e9dd39c9b63358ea8edc755d1891a8d83ca4823657 4.97kB / 4.97kB 0.0s
=> => sha256:dbf3916ecbd3bf82ff5416796787c630e5576c6382ca94a49195d2becfca1331 856B / 856B 0.0s
=> ERROR [web 2/10] RUN groupadd -o --gid=1000 patchwork && useradd --uid=1000 --gid=1000 --create-home 0.3s
------
> [web 2/10] RUN groupadd -o --gid=1000 patchwork && useradd --uid=1000 --gid=1000 --create-home patchwork:
0.264 useradd: UID 1000 is not unique
------
failed to solve: process "/bin/sh -c groupadd -o --gid=$GID patchwork && useradd --uid=$UID --gid=$GID --create-home patchwork" did not complete successfully: exit code: 4
ysionneau@ysionneau-XPS-13-9350:~/patchwork$ id
uid=1000(ysionneau) gid=1000(ysionneau) groups=1000(ysionneau),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),100(users),114(lpadmin),125(wireshark),126(docker),1001(perf_users)
ysionneau@ysionneau-XPS-13-9350:~/patchwork$ cat .env
UID=1000
GID=1000
here is what I did:
Any idea what I could be doing wrong?
Thanks!