Skip to content

Commit 825af82

Browse files
authored
Merge pull request ITHACA-FV#616 from giovastabile/update_submodules
FIX: fixed dockerfile ithaca
2 parents bbc95ce + 0660d5e commit 825af82

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dockerfiles/amd64/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ LABEL maintainer="[email protected]"
66
ARG USER=ithacafv
77
ARG of_var="source /usr/lib/openfoam/openfoam2506/etc/bashrc"
88
ARG ithaca_var="source /usr/lib/ITHACA-FV/etc/bashrc"
9-
ENV USER $USER
9+
ENV USER=$USER
1010

1111
# Create the user
1212
RUN 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
1918
ENV HOME /home/$USER
2019
RUN chown -R $USER:$USER /home/$USER
@@ -33,7 +32,7 @@ RUN apt-get update &&\
3332
sudo rm -rf /var/lib/apt/lists/*
3433

3534
WORKDIR /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
3736
RUN chown -R $USER:$USER openfoam ITHACA-FV
3837
RUN chown -R $USER:$USER /home/$USER
3938
USER $USER

0 commit comments

Comments
 (0)