Docker: Tweak UID/GID, from 991 to 981

Former on my system happens to be used by guixbuilder, and 981 happens
to be available... :p
This commit is contained in:
Pere Lev 2024-10-20 17:10:58 +03:00
parent e9b32587ec
commit 66edf7fa29
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D
2 changed files with 3 additions and 3 deletions

View file

@ -81,9 +81,9 @@ RUN ls -lh /build/artifacts
FROM debian:bookworm FROM debian:bookworm
# Linux UID (user id) for the vervis user, change with [--build-arg UID=1234] # Linux UID (user id) for the vervis user, change with [--build-arg UID=1234]
ARG UID="991" ARG UID="981"
# Linux GID (group id) for the vervis user, change with [--build-arg GID=1234] # Linux GID (group id) for the vervis user, change with [--build-arg GID=1234]
ARG GID="991" ARG GID="981"
RUN apt-get -yq update && apt-get -yq install \ RUN apt-get -yq update && apt-get -yq install \
ca-certificates \ ca-certificates \

2
prepare-state.sh Normal file → Executable file
View file

@ -2,4 +2,4 @@
mkdir state state/repos state/deliveries mkdir state state/repos state/deliveries
ssh-keygen -t rsa -m PEM -N '' -f state/ssh-host-key ssh-keygen -t rsa -m PEM -N '' -f state/ssh-host-key
sudo chown -R 991:991 state sudo chown -R 981:981 state