Sign inSign up

ivotron/spack

By ivotron

•Updated about 8 years ago

Build images by installing packages from source using Spack.

Image
0

2.9K

ivotron/spack repository overview

⁠docker-spack

Build docker images by installing packages from source using Spack⁠.

Example Dockerfile:

FROM ivotron/spack

RUN $SPACK_ROOT/bin/spack install wget
ADD entrypoint.sh /root/
ENTRYPOINT ["/root/entrypoint.sh"]

And corresponding entrypoint.sh:

#!/bin/bash
source $SPACK_ROOT/share/spack/setup-env.sh
spack load wget
exec wget $@

Tag summary

Content type

Image

Digest

Size

123.7 MB

Last updated

about 8 years ago

docker pull ivotron/spack:develop-alpine-3.5