Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Latest commit

 

History

History
103 lines (62 loc) · 2.61 KB

README.md

File metadata and controls

103 lines (62 loc) · 2.61 KB

Build 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
  1. Run:

Running the image standalone is helpful for testing:

docker run -p 8888:8888 illumidesk/base-workspace:latest

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

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

  1. Test:
make test

Build Mechanism

  1. Build and tag the base image or all images at once. Use the TAG argument to add your custom tag. The TAG argument defaults to latest if not specified.

Build all images:

make build-all

Build one image with custom tag, for example:

make build/r-notebook TAG=mytag

Where possible, images use the standard repo2docker convention to set dependencies. Refer to this project's documentaiton for additional configuration options.

  1. (Optional) Use any image available from the jupyter/docker-stacks repo as a starting point. You can override the base image by editing the FROM directive in the Dockerfile. Then, run the build with either the included make build/<folder-name> or the native docker build ... command.

Build with the native docker build ... command:

docker build -t illumidesk/my-datascience-workspace:latest vscode-workspace/.

Or, use the make build command mentioned in the previous section.

Development and Testing

  1. Create your virtual environment and install dev-requirements:
make venv
  1. Check Dockerfiles with linter:
make lint-all
  1. Run tests:
make test

References

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

Attributions

License

MIT