diff --git a/Dockerfile b/Dockerfile index cc58452..ebaafde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,8 +24,8 @@ RUN git clone https://github.com/apache/xerces-c.git /tmp/xerces \ -Dtranscoder=iconv \ -DCMAKE_CXX_FLAGS=-fPIC \ -DCMAKE_C_FLAGS=-fPIC \ - && cmake --build /tmp/geant4/build -j$(nproc) --target install \ - && rm -rf /tmp/geant4 \ + && cmake --build /tmp/xerces/build -j$(nproc) --target install \ + && rm -rf /tmp/xerces \ RUN git clone https://github.com/Geant4/geant4.git /tmp/geant4 --branch=${GEANT4_VERSION} --depth=1 \ && cmake -G Ninja -B /tmp/geant4/build -S /tmp/geant4 \