forked from AIT-WATCHMAN/rat-pac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 724 Bytes
/
Dockerfile
File metadata and controls
28 lines (22 loc) · 724 Bytes
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
# Use the base image with geant4 and root prebuilt.
FROM aitwatchman/simulation:base
MAINTAINER Morgan Askins "maskins@berkeley.edu"
# Run commands as super user
USER root
# Update rat-pac to latest version
RUN cd /src/rat-pac \
&& git pull \
&& gfortran -c src/fit/bonsai/lfariadne.F -o build/linuxx8664gcc/fit/bonsai/lfariadne.o \
#&& CXXFLAGS=-std=c++11 scons \
&& scons \
&& cd /src/rat-pac/tools/bonsai \
&& make
# Update {other repos here}
RUN cd /src/watchmakers \
&& git pull \
&& git remote -v \
&& mkdir -p /docker_interaction_software \
&& rsync -avz /src/watchmakers/tools/d* /docker_interaction_software/
RUN pip install docopt
# Copy dockerfile for record
COPY Dockerfile Dockerfile