Containers to build binary spack buildcache packages on build farms.
2.1K
The containers in this repository are used to build binary spack buildcache packages on build farms.
The container contains a snapshot of http://github.com/spack/spack and of http://github.com/eic/eic-spack. It is rebuilt automatically upon every commit to the main branch of http://github.com/eic/eic-spack.
When using docker, the internal mirror "local" at /spack/mirror must be bound to a host directory.
docker run -v /tmp/mirror:/spack/mirror --rm -it electronioncollider/spack-builder:centos7 bash -c "spack install libelf && spack buildcache create --rebuild-index -m local -a libelf"
When using singularity, you must open the container as writable, but you do not need to bind directories: you can use any mirror defined in your host configuration (with -m), or a regular directory (with -d).
singularity run -w docker://electronioncollider/spack-builder:centos7 bash -c "spack install libelf && spack buildcache create --rebuild-index -m local -a libelf"
or
singularity run --no-home -w docker://electronioncollider/spack-builder:centos7 bash -c "spack install libelf && spack buildcache create --rebuild-index -d ~/mirror -a libelf"
Content type
Image
Digest
sha256:9f3340f14…
Size
199.1 MB
Last updated
about 4 years ago
docker pull electronioncollider/spack-builder:ubuntu20.04