mirror of
https://git.netzspielplatz.de/docker-multiarch/jdownloader2-headless.git
synced 2025-11-08 22:09:29 +00:00
PlusMinus0/headless-jd2-docker#17 fixed non-root setup after alpine linux migration
This commit is contained in:
parent
5393866642
commit
814d5d9200
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
if [ "$GID" ] && [ "$GID" -ne "0" ]
|
||||
then
|
||||
GROUP=jdownloader
|
||||
groupadd -g $GID $GROUP
|
||||
addgroup -g $GID $GROUP
|
||||
else
|
||||
GROUP=root
|
||||
fi
|
||||
|
|
@ -11,7 +11,7 @@ fi
|
|||
if [ "$UID" ] && [ "$UID" -ne "0" ]
|
||||
then
|
||||
USER=jdownloader
|
||||
useradd -r -N -s /bin/false -u $UID $USER
|
||||
adduser -S -D -s /bin/false -u $UID $USER
|
||||
else
|
||||
USER=root
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue