From 66edf7fa294182e2d1096e3f765077e28d79dec7 Mon Sep 17 00:00:00 2001 From: Pere Lev Date: Sun, 20 Oct 2024 17:10:58 +0300 Subject: [PATCH] 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 --- Dockerfile | 4 ++-- prepare-state.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 prepare-state.sh diff --git a/Dockerfile b/Dockerfile index 951deef..15f028a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,9 +81,9 @@ RUN ls -lh /build/artifacts FROM debian:bookworm # 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] -ARG GID="991" +ARG GID="981" RUN apt-get -yq update && apt-get -yq install \ ca-certificates \ diff --git a/prepare-state.sh b/prepare-state.sh old mode 100644 new mode 100755 index 26dfd0c..0e23f89 --- a/prepare-state.sh +++ b/prepare-state.sh @@ -2,4 +2,4 @@ mkdir state state/repos state/deliveries ssh-keygen -t rsa -m PEM -N '' -f state/ssh-host-key -sudo chown -R 991:991 state +sudo chown -R 981:981 state