Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

IllumiDesk/docker-stacks

Repository files navigation

Test Docker Image Status

IllumiDesk Docker Stacks

Dockerfiles and related assets for IllumiDesk's workspace images. The purpose of this repo is to provide a template repo for IllumiDesk customer-centric images. To create a new customer-centric repo, click on the Use this Template button and confirm the repo name.

Pre Requisits

Quickstart

  1. Install dependencies:
make venv
  1. Build images
make build-all

You can also override default owner, tags, and use other docker arguments with the make command included in this repo. Type make from the root of this repo to confirm a complete list of options.

For example running:

make OWNER=foo TAG=mytag build/illumidesk-notebook

Would create the image foo/illumides-notebook:mytag. More advanced options are available with the DARGS option which is an alias for the --build-args flag.

NOTE: You can use the native docker commands to build, push, and tag images (among others). The make command is provided as a convenience and is used with GitHub Actions for automation.

  1. Run:

Running the image standalone is helpful for testing:

make dev

Or:

docker run -p 8888:8888 illumidesk/illumidesk-notebook:latest

Then, navigate to http://127.0.0.1:8888 to access your Jupyter Notebook server.

Refer to docker's documentation for additional docker run ... options.

  1. Test:
make test

Development and Testing

  1. Create your virtual environment and install dev-requirements:
make venv
  1. Run tests:

The standard make test command ensures the image is linted and built before running tests:

make test

You can skip the build step and run the tests directly from the root of this repo:

pytest -v

References

These images are based on the jupyter/docker-stacks images. Refer to their documentation for the full set of configuration options.

License

MIT