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/ | sh
Either:
make no_lsst_stack
or
make with_lsst_stack
To run the salobj container, do:
docker run -it --net=host --name salobjImage salobj bash
Setup the packages by running in the container:
source /home/lsst/environment.env
or (for with_lsst_stack) by:
source /home/lsst/repos/salgenerate.sh
To install prerequisites:
cd docs
pip install -r requirements.txt
To build and serve the documentation:
cd docs
mkdocs serve