There are 2 versions of the docker file to use salobj.
- no_lsst_stack: Doesn't use the lsst-stack
- with_lsst_stack: Uses the lsst-stack
Due to some use of ARG before FROM, Docker >= 17.06 is needed. Either update Docker through your packaging system, or with:
curl -fsSL https://get.docker.com/ | shEither:
make no_lsst_stackor
make with_lsst_stackTo run the salobj container, do:
docker run -it --net=host --name salobjImage salobj bashSetup the packages by running in the container:
source /home/lsst/environment.envor (for with_lsst_stack) by:
source /home/lsst/repos/salgenerate.shTo install prerequisites:
cd docs
pip install -r requirements.txtTo build and serve the documentation:
cd docs
mkdocs serve