File tree Expand file tree Collapse file tree 3 files changed +12
-26
lines changed
Expand file tree Collapse file tree 3 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 55build :
66 docker build -t ithacafv/openfoam2412-muq2-pytorch -f ./Dockerfile .
77
8- run : build
9- xhost +" local:docker" && \
10- docker run -ti --rm \
11- -v "${HOME} :/home/${ME}" \
12- -e DISPLAY=${DISPLAY} \
13- --security-opt seccomp=unconfined \
14- ubuntu-apc
15-
16-
8+ run :
9+ docker run -it ithacafv/openfoam2412-muq2-pytorch bash
Original file line number Diff line number Diff line change 55build :
66 docker build -t ithacafv/openfoam2506-muq2-pytorch -f ./Dockerfile .
77
8- run : build
9- xhost +" local:docker" && \
10- docker run -ti --rm \
11- -v "${HOME} :/home/${ME}" \
12- -e DISPLAY=${DISPLAY} \
13- --security-opt seccomp=unconfined \
14- ubuntu-apc
15-
16-
8+ run :
9+ docker run -it ithacafv/openfoam2506-muq2-pytorch bash
Original file line number Diff line number Diff line change 1- FROM opencfd/openfoam2106-dev
2- LABEL maintainer=
"[email protected] " 1+ FROM ithacafv/openfoam2506-muq2-pytorch
2+ LABEL maintainer=
"[email protected] " 33
44
55# add enviromental variables and enable the default user
66ARG USER=ithacafv
7- ARG of_var="source /usr/lib/openfoam/openfoam2106 /etc/bashrc"
7+ ARG of_var="source /usr/lib/openfoam/openfoam2506 /etc/bashrc"
88ARG ithaca_var="source /usr/lib/ITHACA-FV/etc/bashrc"
99ENV USER $USER
1010
@@ -33,18 +33,18 @@ RUN apt-get update &&\
3333 sudo rm -rf /var/lib/apt/lists/*
3434
3535WORKDIR /usr/lib
36- RUN git clone https://github.com/mathLab /ITHACA-FV.git
36+ RUN git clone https://github.com/ithacafv /ITHACA-FV.git
3737RUN chown -R $USER:$USER openfoam ITHACA-FV
3838RUN chown -R $USER:$USER /home/$USER
3939USER $USER
4040
41- RUN /bin/bash -c "source /usr/lib/openfoam/openfoam2106 /etc/bashrc && \
41+ RUN /bin/bash -c "source /usr/lib/openfoam/openfoam2506 /etc/bashrc && \
4242 cd ITHACA-FV && git submodule update --init && source /etc/bash.bashrc && \
43- ./Allwmake -tau -j 4" ;
43+ ./Allwmake -taumq -j 4" ;
4444
4545USER root
46- RUN cp -r /home/ithacafv/OpenFOAM/ithacafv-v2106 /platforms/linux64GccDPInt32Opt/bin/* /bin/
47- RUN cp -r /home/ithacafv/OpenFOAM/ithacafv-v2106 /platforms/linux64GccDPInt32Opt/lib/* /lib/
46+ RUN cp -r /home/ithacafv/OpenFOAM/ithacafv-v2506 /platforms/linux64GccDPInt32Opt/bin/* /bin/
47+ RUN cp -r /home/ithacafv/OpenFOAM/ithacafv-v2506 /platforms/linux64GccDPInt32Opt/lib/* /lib/
4848
4949# Update bashrc
5050RUN echo $of_var >> /etc/bash.bashrc
You can’t perform that action at this time.
0 commit comments