I’m looking at the Docker images available here, Docker Hub
but since I want to use LSST software along with other software, I want to add LSST to my existing Docker image, not start from scratch.
I tried building from a Debian-based Docker image, and the newinstall.sh script reports an error:
./newinstall.sh: line 265: /etc/redhat-release: No such file or directory
Configured EUPS_PKGROOT: Index of /stack/src
Creating startup scripts (bash) … done.
It does seem to finish installing, but at the end it prints:
Weirdly, when I went to “docker build” again, it acted as though it did finish – it said “using cache” and continued to the next line of my Dockerfile. So I don’t know what was going on there; maybe operator error!
Also, is it possible to install a smaller subset of packages, like say I only need to be able to read afwImage.Exposure(‘filename.fits’), is there a way I can get just afw and its dependencies? eg something smaller than “lsst_distrib” in
eups distrib install -t v22_0_0 lsst_distrib
Here is a Dockerfile that builds LSST 18.1.0 (actually, just up to pipe_drivers) using a script. LSST 18 is rather old these days (22.0.1 was just recently released), but I mention it since you might be able to upgrade it quickly.