Commit 3c1fccac authored by Damian Alvarez's avatar Damian Alvarez
Browse files

To support also turbomol in the CI

parent a3fc4de2
Pipeline #90607 failed with stages
in 13 seconds
......@@ -39,13 +39,14 @@ USER root
RUN groupadd amber &&\
groupadd cpmd &&\
groupadd namd &&\
usermod -a -G amber,cpmd,namd easybuild
groupadd turbomol &&\
usermod -a -G amber,cpmd,namd,turbomol easybuild
RUN if [ ${USER_ID:-0} -ne 0 ] && [ ${GROUP_ID:-0} -ne 0 ]; then \
userdel -f easybuild &&\
if getent group easybuild ; then groupdel easybuild; fi &&\
groupadd -g ${GROUP_ID} easybuild &&\
useradd -l -u ${USER_ID} -g easybuild easybuild &&\
usermod -a -G amber,cpmd,namd easybuild &&\
usermod -a -G amber,cpmd,namd,turbomol easybuild &&\
install -d -m 0755 -o easybuild -g easybuild /home/easybuild &&\
chown --silent --no-dereference --recursive \
--from=1000:1000 ${USER_ID}:${GROUP_ID} \
......
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