Skip to content

Commit

Permalink
Update Developing_LArSoft_with_Containers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarren authored Aug 7, 2024
1 parent 750ef2f commit 320fdbd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions LArSoftWiki/Developing_LArSoft_with_Containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ export UPS_OVERRIDE='-H Linux64bit+3.10-2.17'
```

### Jenkins with apptainer

For Jenkins build jobs, we start the apptainer and run the job in the same command. The build script then must set `UPS_OVERRIDE`.
```
# start the container and run the build
/cvmfs/oasis.opensciencegrid.org/mis/apptainer/current/bin/apptainer exec \
--pid --ipc \
-B /etc/hosts,/tmp,/cvmfs/,${WORKSPACE} \
--pwd ${WORKSPACE} \
/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-dev-sl7:latest /bin/bash ./larutils/buildScripts/build-larsoft.sh
status=$?
```

## Docker

Docker is no longer a recommended container. However, the instructions are here for [a Docker container approach](Developing_LArSoft_on_Unsupported_Operating_Systems_with_Docker).

0 comments on commit 320fdbd

Please sign in to comment.