From e3d3b1159632bc938b388c1c6220626815350212 Mon Sep 17 00:00:00 2001 From: Stephen Fegan Date: Wed, 3 Jul 2024 09:43:07 +0200 Subject: [PATCH] Add astropy and gammapy --- singularity_build.def | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/singularity_build.def b/singularity_build.def index d2300947..6b05dbc2 100644 --- a/singularity_build.def +++ b/singularity_build.def @@ -85,7 +85,7 @@ From: ubuntu:22.04 apt-get -y autoremove apt-get -y clean - pip3 install ipyparallel cdsapi ecmwf-api-client + pip3 install ipyparallel cdsapi ecmwf-api-client astropy gammagy pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib export G4DATADIR=/usr/share/Geant4/data @@ -106,8 +106,11 @@ From: ubuntu:22.04 curl -L $G4URL/G4RealSurface.2.2.tar.gz | tar -C $G4DATADIR -zxf - curl -L $G4URL/G4TENDL.1.4.tar.gz | tar -C $G4DATADIR -zxf - - curl -L https://github.com/llr-cta/CamerasToACTLRelease/releases/download/ubuntu-22.04/CamerasToACTL-ubuntu-22.04.tgz | tar -zxf - -C / - curl -L https://github.com/llr-cta/Geant4Build/releases/download/ubuntu-22.04-11.2.2/Geant4-ubuntu-22.04-11.2.2.tbz2 | tar -jxf - -C / + export CAMERASTOACTL_REL=ubuntu-22.04 + export GEANT4_REL=ubuntu-22.04-11.2.2 + + curl -L https://github.com/llr-cta/CamerasToACTLRelease/releases/download/$CAMERASTOACTL_REL/CamerasToACTL-$CAMERASTOACTL_REL.tgz | tar -zxf - -C / + curl -L https://github.com/llr-cta/Geant4Build/releases/download/$GEANT4_REL/Geant4-$GEANT4_REL.tbz2 | tar -jxf - -C / tar -zxf /tmp/calin_installed.tgz -C / rm -f /tmp/calin_installed.tgz