Skip to content

Commit

Permalink
Merge pull request #83 from 2i2c-org/rebuild_researchdelight_image
Browse files Browse the repository at this point in the history
refresh researchdelight image
  • Loading branch information
jmunroe authored May 2, 2024
2 parents f853de1 + cccfd9f commit 4bfc174
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 131 deletions.
20 changes: 20 additions & 0 deletions images/researchdelight-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM quay.io/jupyter/scipy-notebook

USER root

RUN apt-get -qq update && \
apt-get -qq install --yes --no-install-recommends \
gettext-base \
less \
unzip \
> /dev/null && \
apt-get -qq purge && \
apt-get -qq clean && \
rm -rf /var/lib/apt/lists/*

# Install from the environment.yml file
COPY --chown=${NB_UID}:${NB_GID} environment.yml /tmp/
RUN mamba env update -n base --file /tmp/environment.yml && \
mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
4 changes: 3 additions & 1 deletion images/researchdelight-image/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
A first attempt at building a user environment. Currently broken.
This image is for internal 2i2c use for exploration of the open science ecosystem.

It is a customization of the Jupyter Docker Stack [jupyter/scipy-notebook](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-scipy-notebook).
90 changes: 0 additions & 90 deletions images/researchdelight-image/apt.txt

This file was deleted.

27 changes: 3 additions & 24 deletions images/researchdelight-image/environment.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
name: researchdelight

channels:
- conda-forge

dependencies:
- python=3.10
- jupyter_contrib_nbextensions==0.5.1
# Required until https://github.com/jupyterhub/repo2docker/pull/1196 is merged
- jupyterhub-singleuser>=3.0,<4.0
# Required until https://github.com/jupyterhub/repo2docker/pull/1196 is merged
- jupyterhub-singleuser>=3.0,<4.0
# nbgitpuller is very helpful when distributing user content
- nbgitpuller
# Specify major version of jupyterlab to use. Manually bump it when you want to upgrade
# jupyterlab version
- jupyterlab>=3.0,<4.0
# This provides memory usage stats on JupyterLab and classic notebook
- jupyter-resource-usage
# https://syncthing.net/ provides a dropbox-like interface for syncing directories across users,
Expand All @@ -24,6 +13,7 @@ dependencies:
# https://blog.jupyter.org/securely-pushing-to-github-from-a-jupyterhub-3ee42dfdc54f has
# some more information
- gh-scoped-creds
- flake8

# Cloud access tools and libraries
# Access S3 easily from python
Expand All @@ -34,22 +24,11 @@ dependencies:
# Access datasets exposed via STAC
- pystac-client

# Visualization packages
- matplotlib
- ipympl # This enables matplotlib interaction with jupyter widgets
- ipyleaflet

# Geospatial data packages
- rasterio
- rioxarray
- xarray-datatree

# needed for Linux desktop to work
- websockify>=0.10

# Not all packages will be available from conda-forge, we install from pip when we need to.
- pip
- pip:
- jupyter-syncthing-proxy
# Access linux desktop from inside JupyterHub
- jupyter-desktop-server
# enable myst
- jupyterlab_myst
16 changes: 0 additions & 16 deletions images/researchdelight-image/start

This file was deleted.

0 comments on commit 4bfc174

Please sign in to comment.