Guidelines for adding interactive tools in DE¶
Adding VICE Tools in DE is different from non-interactive Tools. VICE applications like Jupyter and RStudio run on an open port for enabling their web UI.
- Ensure that the listen port for the web UI has a sane default and is set in the Dockerfile.
- The working directory is set
- All commonly needed dependencies are installed in the container image - you will not have root privileges later
- The default user set
- Disable any additional authentication (CyVerse provides CAS authentication and authorization).
- URLs will work sanely behind a reverse proxy. If they don’t, you may need to add nginx to the container.=
Community images as your base image¶
If you need to set the configurations at all (see above), you’ll need to create a new Dockerfile that uses the community-provided image as a base. Your new Dockerfile should deal with custom configurations and dependency installations.
- Jupyter Lab (https://hub.docker.com/r/cyversevice/jupyterlab-base)
- RStudio Verse (https://hub.docker.com/r/cyversevice/rstudio-verse)
- Shiny Verse (https://hub.docker.com/r/cyversevice/shiny-verse)
See some examples of VICE apps that uses community images as base image in the Dockerfile
Test your Docker image¶
Since the images are built based using Dockerfile, make sure you test the Dockerfile before providing it to us. Dockerfile must have Entrypoint. If you cannot provide us the Dockerfile, you can request integration of the app by doing a tool request.
Fix or improve this documentation: