[DiscordArchive] rebuilding the container?
[DiscordArchive] rebuilding the container?
Archived author: locus313 • Posted: 2021-04-25T03:24:36.070000+00:00
Original source
that is what is running the command, but i am pretty sure the uid, gid are just coming from the docker image
Archived author: Mynder • Posted: 2021-04-25T03:24:43.055000+00:00
Original source
No
Archived author: Mynder • Posted: 2021-04-25T03:24:50.121000+00:00
Original source
I mean yes
Archived author: Mynder • Posted: 2021-04-25T03:25:00.014000+00:00
Original source
but that's the file I inserted an "id" command into:
Archived author: Mynder • Posted: 2021-04-25T03:25:27.814000+00:00
Original source
[eddy@corsair azerothcore-wotlk]$ cat bin/acore-docker-build
#!/usr/bin/env bash
bash acore.sh compiler build && bash acore.sh db-assembler import-all
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ENV_PATH=$(readlink -f "$CUR_PATH/../env")
echo "Generating confs..."
cp -n "$ENV_PATH/docker/etc/worldserver.conf.dockerdist" "$ENV_PATH/dist/etc/worldserver.conf"
cp -n "$ENV_PATH/docker/etc/authserver.conf.dockerdist" "$ENV_PATH/dist/etc/authserver.conf"
echo "Fixing EOL..."
id
dos2unix "$ENV_PATH/dist/etc/"*
Archived author: Mynder • Posted: 2021-04-25T03:26:08.660000+00:00
Original source
going to try rebuilding the ac-dev-server with the .env file
Archived author: Mynder • Posted: 2021-04-25T03:26:35.771000+00:00
Original source
(i.e. with GROUP_ID=100 and DOCKER_GROUP_ID=100)
Archived author: Mynder • Posted: 2021-04-25T03:27:16.119000+00:00
Original source
and that tries to create the group twice
Archived author: Mynder • Posted: 2021-04-25T03:27:17.538000+00:00
Original source
Step 12/16 : RUN addgroup --gid $GROUP_ID acore && adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID acore && passwd -d acore && echo 'acore ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers
---> Running in 07f763af6810
addgroup: The GID `100' is already in use.
The command '/bin/sh -c addgroup --gid $GROUP_ID acore && adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID acore && passwd -d acore && echo 'acore ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers' returned a non-zero code: 1
ERROR: Service 'ac-dev-server' failed to build : Build failed
Archived author: Mynder • Posted: 2021-04-25T03:27:48.180000+00:00
Original source
I feel like I'm being stupid here somewhere.