Skip to content

Commit

Permalink
do not install data files - these can be done by downstream containers (
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult authored Dec 6, 2023
1 parent 9e8e43e commit fd1654f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
12 changes: 6 additions & 6 deletions install_icetray/Dockerfile_install
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ ENV I3_TESTDATA /opt/i3-data/i3-test-data
ENV TMPDIR /scratch

# install photon tables
RUN mkdir -p /opt/i3-data/photon-tables/splines && \
wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.abs.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.abs.fits && \
wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.prob.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.prob.fits
RUN mkdir -p /opt/i3-data/photon-tables/splines
# wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.abs.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.abs.fits && \
# wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.prob.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.prob.fits

# install baseline GCDs
RUN mkdir /opt/i3-data/baseline_gcds && \
wget -nv -N -t 5 -P /opt/i3-data/baseline_gcds -r -l 1 -A *.i3* -nd https://icecube:[email protected]/data/user/followup/baseline_gcds/ && \
chmod -R u+rwX,go+rX,go-w /opt/i3-data/baseline_gcds
#RUN mkdir /opt/i3-data/baseline_gcds && \
# wget -nv -N -t 5 -P /opt/i3-data/baseline_gcds -r -l 1 -A *.i3* -nd https://icecube:[email protected]/data/user/followup/baseline_gcds/ && \
# chmod -R u+rwX,go+rX,go-w /opt/i3-data/baseline_gcds

# install test data
RUN rsync -vrlpt --delete code.icecube.wisc.edu::Offline/test-data/trunk/ /opt/i3-data/i3-test-data/
Expand Down
13 changes: 6 additions & 7 deletions install_icetray/Dockerfile_prod
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ ENV I3_DATA /opt/i3-data
ENV TMPDIR /scratch

# install photon tables
RUN mkdir /opt/i3-data/photon-tables && \
mkdir /opt/i3-data/photon-tables/splines && \
wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.abs.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.abs.fits && \
wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.prob.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.prob.fits
RUN mkdir -p /opt/i3-data/photon-tables/splines
# wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.abs.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.abs.fits && \
# wget -nv -t 5 -O /opt/i3-data/photon-tables/splines/ems_mie_z20_a10.prob.fits http://prod-exe.icecube.wisc.edu/spline-tables/ems_mie_z20_a10.prob.fits

# install baseline GCDs
RUN mkdir /opt/i3-data/baseline_gcds && \
wget -nv -N -t 5 -P /opt/i3-data/baseline_gcds -r -l 1 -A *.i3* -nd https://icecube:[email protected]/data/user/followup/baseline_gcds/ && \
chmod -R u+rwX,go+rX,go-w /opt/i3-data/baseline_gcds
#RUN mkdir /opt/i3-data/baseline_gcds && \
# wget -nv -N -t 5 -P /opt/i3-data/baseline_gcds -r -l 1 -A *.i3* -nd https://icecube:[email protected]/data/user/followup/baseline_gcds/ && \
# chmod -R u+rwX,go+rX,go-w /opt/i3-data/baseline_gcds

# build the matplotlib font cache (prevents warnings about the font cache on startup)
RUN python3 -c 'from matplotlib import pyplot'
Expand Down

0 comments on commit fd1654f

Please sign in to comment.