-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.ProcessTest
More file actions
38 lines (29 loc) · 1.72 KB
/
Dockerfile.ProcessTest
File metadata and controls
38 lines (29 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM andreadotti/geant4:10.4.p01
MAINTAINER Andrea Dotti (adotti@slac.stanford.edu)
#Add Azure CLI
#RUN apt update -y && apt install -y npm
#RUN ln -s /usr/bin/nodejs /usr/bin/node
#RUN npm install -g azure-cli && azure telemetry --disable
LABEL org.geant4.processtest.installation_dir="/usr/local/geant4/applications" \
org.geant4.processtest.macro_dirs="share/ProcessTest/validation" \
org.geant4.processtest.default_macro_name="share/ProcessTest/run.mac" \
org.geant4.processtest.readme="/ProcessTest.README.md" \
org.geant4.processtest.docs="share/ProcessTest/README.md share/validation/crosssections/README.md" \
org.geant4.processtest.license="share/ProcessTest/LICENSE.txt" \
org.geant4.processtest.url="https://gitlab.cern.ch/adotti/ProcessTest" \
org.geant4.processtest.bins="bin/ProcessTest" \
org.geant4.processtest.output="/output/*"
#Application Specific Labels
LABEL org.geant4.processtest.cross_sections_dir="share/ProcessTest/validation/crosssections"
ADD binaries/*.tgz /
ENV PATH="/usr/local/geant4/applications/bin:$PATH" \
LD_LIBRARY_PATH="/usr/local/geant4/applications/lib:$LD_LIBRARY_PATH" \
G4LENDDATA=/usr/local/geant4/data/GND_v1.3
RUN chmod ugo+x /usr/local/geant4/applications/share/ProcessTest/validation/crosssections/doXS.sh && \
chmod ugo+x /usr/local/geant4/applications/share/ProcessTest/validation/crosssections/doXS_EM.sh && \
chmod ugo+x /usr/local/geant4/applications/share/ProcessTest/validation/crosssections/doXS_had.sh
COPY runme.ProcessTest.sh /runme.sh
COPY runme.ProcessTest.xs.sh /runme.xs.sh
COPY README.md /ProcessTest.README.md
WORKDIR /usr/local/geant4/applications/share/ProcessTest
CMD [ "/runme.sh", "FTFP_BERT" , "run.mac" ]