Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdegraef committed Dec 14, 2023
1 parent 0c8626b commit beba417
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Expand Up @@ -4,12 +4,12 @@ ARG TARGETARCH
ARG DEBIAN_FRONTEND=noninteractive

# clone EMsoft and set up SDK Debug/Release
RUN cd ~/EMs \
RUN cd /home/EMs \
&& git clone https://github.com/EMsoft-org/EMsoftData.git \
&& git clone https://github.com/EMsoft-org/EMsoft.git \
&& mkdir EMsoftBuild

RUN cd ~/EMs/EMsoftBuild/ && mkdir Debug Release && cd Debug \
RUN cd /home/EMs/EMsoftBuild/ && mkdir Debug Release && cd Debug \
&& cmake -DCMAKE_BUILD_TYPE=Debug -DEMsoft_SDK=/opt/EMsoft_SDK -DBUILD_SHARED_LIBS=OFF \
../../EMsoft -G Ninja \
&& ninja \
Expand All @@ -19,9 +19,9 @@ RUN cd ~/EMs/EMsoftBuild/ && mkdir Debug Release && cd Debug \
&& ninja

# add release version to path
ENV PATH ~/EMs/EMsoftBuild/Release/Bin:$PATH
ENV PATH /home/EMs/EMsoftBuild/Release/Bin:$PATH
# add backup path of EMsoft
ENV EMSOFTPATHNAME ~/EMs/EMsoft
ENV EMSOFTPATHNAME /home/EMs/EMsoft

# install a new user
ARG user=EMuser
Expand Down

0 comments on commit beba417

Please sign in to comment.