File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 66ARG USER=ithacafv
77ARG of_var="source /usr/lib/openfoam/openfoam2506/etc/bashrc"
88ARG ithaca_var="source /usr/lib/ITHACA-FV/etc/bashrc"
9- ENV USER $USER
9+ ENV USER= $USER
1010
1111# Create the user
1212RUN adduser --disabled-password --gecos '' $USER && \
1313 adduser $USER sudo; echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
1414 usermod -a -G $USER $USER && \
15- userdel sudofoam && \
16- usermod -u 1000 ithacafv && \
17- groupmod -g 1000 ithacafv
15+ usermod -u 9999 ithacafv && \
16+ groupmod -g 9999 ithacafv
1817# make sure everything is in place
1918ENV HOME /home/$USER
2019RUN chown -R $USER:$USER /home/$USER
@@ -33,7 +32,7 @@ RUN apt-get update &&\
3332 sudo rm -rf /var/lib/apt/lists/*
3433
3534WORKDIR /usr/lib
36- RUN git clone https://github.com/ithacafv /ITHACA-FV.git
35+ RUN git clone https://github.com/ITHACA-FV /ITHACA-FV.git
3736RUN chown -R $USER:$USER openfoam ITHACA-FV
3837RUN chown -R $USER:$USER /home/$USER
3938USER $USER
You can’t perform that action at this time.
0 commit comments