From 0936cbc45564235288a44af10767ed13a8621a03 Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Wed, 21 Jun 2023 17:52:18 +0200 Subject: [PATCH] Fix Docker entrypoint typo --- docker/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 1e2c681..bdac95f 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,10 +1,10 @@ #!/bin/sh export USER=opengist -PID=${PID:-1000} +UID=${UID:-1000} GID=${GID:-1000} groupmod -o -g "$GID" $USER -usermod -o -u "$PID" $USER +usermod -o -u "$UID" $USER chown -R "$USER:$USER" /opengist