Skip to content

Commit

Permalink
Revert openfoam11 to openfoam9
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Nov 2, 2023
1 parent fe7ee44 commit 1d66f71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND=noninteractive

# setup timezone
ENV TZ=Europe/Istanbul
ENV VM_PROJECT_DIR=/opt/openfoam11
ENV VM_PROJECT_DIR=/opt/openfoam9

# Create a non-root user
RUN useradd -ms /bin/bash openfoamRunner
Expand All @@ -15,10 +15,10 @@ RUN apt install -y wget software-properties-common python3-pip
RUN wget -O - https://dl.openfoam.org/gpg.key > /etc/apt/trusted.gpg.d/openfoam.asc
RUN add-apt-repository http://dl.openfoam.org/ubuntu
RUN apt-get update
RUN apt-get -y --no-install-recommends install openfoam11
RUN apt-get -y --no-install-recommends install openfoam9

RUN echo "source /opt/openfoam11/etc/bashrc" >> /root/.bashrc
RUN echo "source /opt/openfoam11/etc/bashrc" >> /home/openfoamRunner/.bashrc
RUN echo "source /opt/openfoam9/etc/bashrc" >> /root/.bashrc
RUN echo "source /opt/openfoam9/etc/bashrc" >> /home/openfoamRunner/.bashrc

RUN pip install poetry

Expand Down

0 comments on commit 1d66f71

Please sign in to comment.