Browse Source
feat(docker): enable correct UID and GID setting via docker-compose.yml (#31)
pull/36/merge
Justus557
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
entrypoint.sh
|
|
@ -54,8 +54,10 @@ echo -e "setting UID to ${UID}" |
|
|
|
usermod -u "${UID}" -m -d /data linuxgsm > /dev/null 2>&1 |
|
|
|
echo -e "setting GID to ${GID}" |
|
|
|
groupmod -g "${GID}" linuxgsm |
|
|
|
echo -e "updating permissions" |
|
|
|
echo -e "updating permissions for /data" |
|
|
|
chown -R "${USER}":"${USER}" /data |
|
|
|
echo -e "updating permissions for /app" |
|
|
|
chown -R "${USER}":"${USER}" /app |
|
|
|
export HOME=/data |
|
|
|
|
|
|
|
echo -e "" |
|
|
|