Skip to content
Snippets Groups Projects
Commit 1ac35881 authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Moved to new container and updated software versions

parent 52cccb86
No related branches found
No related tags found
1 merge request!15Updated container and software versions.
# Builder with Argonne EIC software # Builder with Argonne EIC software
# #
FROM eicweb.phy.anl.gov:4567/containers/image_recipes/debian_spack:snapshot-20201025 FROM eicweb.phy.anl.gov:4567/containers/image_recipes/debian_spack:snapshot-20201117
LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \
name="eic_builder" \ name="eic_builder" \
...@@ -11,7 +11,7 @@ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \ ...@@ -11,7 +11,7 @@ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \
ENV DOCKERFILE_BASE=debian \ ENV DOCKERFILE_BASE=debian \
DOCKERFILE_DISTRO=debian \ DOCKERFILE_DISTRO=debian \
DOCKERFILE_DISTRO_VERSION=20201012-testing \ DOCKERFILE_DISTRO_VERSION=20201117-testing \
SPACK_ROOT=/opt/spack \ SPACK_ROOT=/opt/spack \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
CURRENTLY_BUILDING_DOCKER_IMAGE=1 \ CURRENTLY_BUILDING_DOCKER_IMAGE=1 \
...@@ -24,19 +24,19 @@ RUN apt-get -yqq update \ ...@@ -24,19 +24,19 @@ RUN apt-get -yqq update \
gv \ gv \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
## Setup our environment definition
COPY spack.yaml /opt/spack-environment/spack.yaml
## Ensure an up-to-date custom package list ## Ensure an up-to-date custom package list
RUN rm -rf $SPACK_ROOT/np-spack \ RUN rm -rf $SPACK_ROOT/np-spack \
&& git clone https://eicweb.phy.anl.gov/EIC/np-spack.git $SPACK_ROOT/np-spack \ && git clone https://eicweb.phy.anl.gov/EIC/np-spack.git $SPACK_ROOT/np-spack \
&& cd $SPACK_ROOT/np-spack \ && cd $SPACK_ROOT/np-spack \
&& git checkout snapshot-`echo $(spack --version) | cut -d- -f3` \ && git checkout v$(spack --version) \
&& cd - \ && cd - \
&& echo "DISABLED: rm -rf $SPACK_ROOT/np-spack/.git" \ && echo "DISABLED: rm -rf $SPACK_ROOT/np-spack/.git" \
&& echo "repos:" > $SPACK_ROOT/etc/spack/repos.yaml \ && echo "repos:" > $SPACK_ROOT/etc/spack/repos.yaml \
&& echo " - $SPACK_ROOT/np-spack" >> $SPACK_ROOT/etc/spack/repos.yaml && echo " - $SPACK_ROOT/np-spack" >> $SPACK_ROOT/etc/spack/repos.yaml
## Setup our environment definition
COPY spack.yaml /opt/spack-environment/spack.yaml
## Install the software, no garbage collection at this stage ## Install the software, no garbage collection at this stage
## as this is a raw builder image ## as this is a raw builder image
RUN cd /opt/spack-environment \ RUN cd /opt/spack-environment \
...@@ -61,7 +61,7 @@ RUN cd /opt/spack-environment && spack env activate . \ ...@@ -61,7 +61,7 @@ RUN cd /opt/spack-environment && spack env activate . \
#&& spack install \ #&& spack install \
#&& spack clean -a #&& spack clean -a
## Strip the binaries ## Strip the binaries/DISABLED for builder, do this for release step
#RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \ #RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \
# xargs file -i | \ # xargs file -i | \
# grep 'charset=binary' | \ # grep 'charset=binary' | \
...@@ -81,7 +81,7 @@ RUN cd /opt/spack-environment \ ...@@ -81,7 +81,7 @@ RUN cd /opt/spack-environment \
&& spack env activate . \ && spack env activate . \
&& export PODIO=`spack find -p podio | grep software | awk '{print $2}'` \ && export PODIO=`spack find -p podio | grep software | awk '{print $2}'` \
&& echo "export PODIO=${PODIO};" >> /etc/profile.d/z10_spack_environment.sh \ && echo "export PODIO=${PODIO};" >> /etc/profile.d/z10_spack_environment.sh \
&& echo "export BINARY_TAG=x86_64-linux-gcc9-opt" >> /etc/profile.d/z10_spack_environment.sh && echo "export BINARY_TAG=x86_64-linux-gcc10-opt" >> /etc/profile.d/z10_spack_environment.sh
## make sure we have the entrypoints setup correctly ## make sure we have the entrypoints setup correctly
ENTRYPOINT [] ENTRYPOINT []
......
spack: spack:
specs: specs:
- cmake@3.18.1 - cmake@3.18.4
- fmt@6.1.2 cxxstd=17 - fmt@7.1.2 cxxstd=17
- spdlog@1.5.0 - spdlog@1.5.0
- nlohmann-json - nlohmann-json@3.9.1
- heppdt@3.04.01 - heppdt@3.04.01
- clhep@2.4.1.3 cxxstd=17 - clhep@2.4.1.3 cxxstd=17
- cairo+fc+ft+X+pdf+gobject - eigen@3.3.8
- eigen@3.3.7 - python@3.8.6
- python@3.7.8
- py-pip - py-pip
- py-numpy - py-numpy
- py-pyyaml - py-pyyaml
- xrootd@4.12.3 cxxstd=17 +python - xrootd@4.12.3 cxxstd=17 +python
- root@6.22.00 cxxstd=17 +fftw +fortran +gdml +http +mlp +pythia8 +root7 +tmva +vc - | root@6.22.00 cxxstd=17
+xrootd +ssl ^mesa+opengl -llvm -osmesa +fftw +fortran +gdml +http +mlp +pythia8
- pythia8@8244 +root7 +tmva +vc +xrootd +ssl ^mesa+opengl
-llvm -osmesa
- pythia8@8303
- hepmc3@3.2.2 +python +rootio - hepmc3@3.2.2 +python +rootio
- stow@2.2.2 - stow@2.3.1
- cairo+fc+ft+X+pdf+gobject
- podio@master - podio@master
- geant4@10.6.2 cxxstd=17 +opengl +vecgeom +x11 +qt ^qt +opengl - geant4@10.6.2 cxxstd=17 +opengl +vecgeom +x11 +qt ^qt +opengl
- dd4hep@1.14.1 +geant4 +assimp +hepmc3 - dd4hep@1.14.1 +geant4 +assimp +hepmc3
- acts@1.02.0 +dd4hep +digitization +identification +json +tgeo - acts@2.00.0 +dd4hep +digitization +identification +json +tgeo +ipo
- gaudi@34.0 - gaudi@35.0
- dawn@3_91a - dawn@3_91a
- dawncut@1_54a - dawncut@1_54a
concretization: together concretization: together
......
...@@ -11,7 +11,7 @@ RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \ ...@@ -11,7 +11,7 @@ RUN find -L /usr/local/* -type f -exec readlink -f '{}' \; | \
grep 'x-executable\|x-archive\|x-sharedlib' | \ grep 'x-executable\|x-archive\|x-sharedlib' | \
awk -F: '{print $1}' | xargs strip -s awk -F: '{print $1}' | xargs strip -s
FROM eicweb.phy.anl.gov:4567/containers/image_recipes/debian_minimal:testing-20201012 FROM eicweb.phy.anl.gov:4567/containers/image_recipes/debian_minimal:testing-20201117
LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \
name="eic" \ name="eic" \
group="eic" \ group="eic" \
...@@ -21,14 +21,12 @@ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \ ...@@ -21,14 +21,12 @@ LABEL maintainer="Sylvester Joosten <sjoosten@anl.gov>" \
## @ENV@ will be automatically expanded to auto-load the ## @ENV@ will be automatically expanded to auto-load the
## runtime environment ## runtime environment
ENV DOCKERFILE_DISTRO=ubuntu \ ENV DOCKERFILE_DISTRO=debian \
DOCKERFILE_DISTRO_VERSION=20201012-testing \ DOCKERFILE_DISTRO_VERSION=20201117-testing \
DEBIAN_FRONTEND=noninteractive \ DEBIAN_FRONTEND=noninteractive \
@ENV@ @ENV@
## TODO: move this to upstream, as we should have ssh available in ## poppler-utils for pdftoppm, is this is right now not supported by the
## any dev container
## poppler-utils for pdftoppm, is this is right now now supported by the
## Spack version ## Spack version
RUN apt-get -yqq update \ RUN apt-get -yqq update \
&& apt-get -yqq install --no-install-recommends \ && apt-get -yqq install --no-install-recommends \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment