Dockerfiles and related assets for IllumiDesk's stack images.
- Install dependencies
make venv
- Build images
make build-all
You can also override default tags and/or images using the --build-args
flag to override the defaults assigned to the BASE_IMAGE
and TAG
arguments.
For example:
docker build \
--build-arg ARG BASE_IMAGE=jupyterhub/k8s-hub:0.11.1 \
-t illumidesk/jupyterhub:latest \
jupyterhub/.
- Run:
Running the image standalone is helpful for testing:
docker run -p 8888:8888 illumidesk/jupyterhub:latest
Then, navigate to http://localhost:8888
to access your JupyterHub server.
Refer to docker's documentation for additional
docker run ...
options.
The grader-setup-service
and nginx
services also support the use of docker run ...
.
- Create your virtual environment and install dev-requirements:
make venv
- Check Dockerfiles and code formatting with linters:
make lint-all
- Run tests:
The standard make test
command ensures the image is built before running tests:
make test
You can skip the build step and run the tests directly:
pytest -v
These images are based on the jupyter/docker-stacks
images. Refer to their documentation for the full set of configuration options.
MIT