Commit eac0e256 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

update adjustment of user and group id

parent bad1c968
Pipeline #88397 passed with stages
in 8 minutes and 32 seconds
......@@ -42,7 +42,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --changes --silent --no-dereference --recursive \
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
/home/easybuild \
/scratch \
......
......@@ -42,7 +42,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --changes --silent --no-dereference --recursive \
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
/home/easybuild \
/scratch \
......
......@@ -42,7 +42,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --changes --silent --no-dereference --recursive \
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
/home/easybuild \
/scratch \
......
......@@ -42,7 +42,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --changes --silent --no-dereference --recursive \
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
/home/easybuild \
/scratch \
......
......@@ -38,7 +38,7 @@ RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --changes --silent --no-dereference --recursive \
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
/home/easybuild \
/scratch \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment