diff --git a/Dockerfile b/Dockerfile index 5c6a645f..5e6e8c43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ @@ -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