Skip to content

Releases: nmfs-opensci/py-rocket-base

py-rocket-base v3.0.1

25 Nov 04:40
e851493
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install a Jupyter and JupyterHub environment that duplicates (and uses) the Pangeo base-image and creates the R and RStudio environment with Rocker installation scripts.

The base image has the following support:

  • Python + JupyterLab with mamba handling package installation
  • R + RStudio with the Rocker verse environment pre-installed
  • Desktop VNC ready for installing applications, including Java-based applications
  • VSCode
  • Publishing suite: Quarto, JupyterBook, Myst, Pandoc, Texlive, Zotero
  • pyrocket_scripts to assist in common customization tasks
  • rocker_scripts for extending the R/RStudio environment

What's Changed

  • add zotero
  • Fix problem with CRAN set to "latest" instead of pinned to a specific date

Full Changelog: v3.0.0...v3.0.1

py-rocket-base v3.0.0

20 Nov 01:17
c488158
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install a Jupyter and JupyterHub environment that duplicates (and uses) the Pangeo base-image and creates the R and RStudio environment with Rocker installation scripts.

The base image has the following support:

  • Python + JupyterLab with mamba handling package installation
  • R + RStudio with the Rocker verse environment pre-installed
  • Desktop VNC ready for installing applications, including Java-based applications
  • VSCode
  • pyrocket_scripts to assist in common customization tasks
  • rocker_scripts for extending the R/RStudio environment

What's Changed

  • Use scripts instead of ONBUILD
  • remove ${REPO_DIR}/childimage and instead use arguments passed to the helper scripts
  • Add VSCode extensions
  • export PATH in scripts that switch to NB_USE
  • fix Desktop config

Full Changelog: v2.0.0...v3.0.0

py-rocket-base v2.0.0

06 Nov 03:41
b0bccf7
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R and RStudio environment installed with Rocker installation scripts.

The base image has the following support:

  • Python + JupyterLab with mamba handling package installation
  • R + RStudio with the Rocker verse environment pre-installed
  • Desktop VNC ready for installing applications, including Java-based applications
  • VSCode
  • pyrocket_scripts to assist in common customization tasks
  • rocker_scripts for extending the R/RStudio environment

What's Changed

  • update documentation
  • Use scripts instead of ONBUILD
  • remove ${REPO_DIR}/childimage and instead use arguments passed to the helper scripts

Full Changelog: v1.0.6...v2.0.0

py-rocket-base v1.0.6

01 Nov 06:40
7173170
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R and RStudio environment installed with Rocker installation scripts.

THIS VERSION HAS ONBUILD Switched to /pyrocket_scripts similar to the rocker approach instead.

The base image has the following support:

Python + JupyterLab with mamba handling package installation
R + RStudio with the Rocker scripts and other functions available
Desktop VNC ready for installing applications, including Java-based applications
VSCode

What's Changed

  • Moved the desktop files for xfce4 to /usr/share/Desktop out of ~/Desktop. This means that the applications shown are stable and the user will not accidentally remove them
  • Added icons to the /usr/share/icons/hicolor so they are in the normal search path
  • created desktop.sh script to do Desktop app installation tasks

Full Changelog: v1.0.5...v1.0.6

py-rocket-base v1.0.5

30 Oct 03:46
acea3f6
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R and RStudio environment installed with Rocker installation scripts.

The base image has the following support:

Python + JupyterLab with mamba handling package installation
R + RStudio with the Rocker scripts and other functions available
Desktop VNC ready for installing applications, including Java-based applications
VSCode

What's Changed

  • update the documentation
  • remove the binder and .binder directory options. Confusing
  • remove postBuild and move that code into appendix
  • finish adding pieces to ONBUILD behavior
  • test and fix the start ONBUILD behavior

Full Changelog: v1.0.4...v1.0.5

py-rocket-base v1.0.4

26 Oct 00:05
b614a87
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R and RStudio environment installed with Rocker installation scripts.

The base image has the following support:

Python + JupyterLab with mamba handling package installation
R + RStudio with the Rocker scripts and other functions available
Desktop VNC ready for installing applications, including Java-based applications
VSCode

What's Changed

This release is related to getting the child behavior working. When py-rocket-base is used in the FROM line of a child docker file, it should detect environment.yml in child repo and install those pakages. Also fixed bug related to desktop and one that would stop R package installation.

  • add ONBUILD code to detect environment.yml
  • add pip install jupyter desktop to ONBUILD so it doesn't get wiped out by environment.yml updates
  • fix the various ENV that were not getting propagated to child docker build
    • NB_USER
    • CONDA_ENV
    • NB_USER in staff group (needed for rocker env permissions)

py-rocket-base v1.0.3

24 Oct 00:10
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R and RStudio environment installed with Rocker installation scripts.

The base image has the following support:

Python + JupyterLab with mamba handling package installation
R + RStudio with the Rocker scripts and other functions available
Desktop VNC ready for installing applications, including Java-based applications
VSCode

What's Changed

  • unpin environment.yml by @eeholmes in #75
  • Add documentation files by @eeholmes in #80
  • switch to jupyter-remote-desktop-proxy by @eeholmes in #82
  • Use ONBUILD to move Desktop files when py-rocket-base is used as the FROM in another Dockerfile

Full Changelog: v1.0.2...v1.0.3

py-rocket-base v1.0.1

19 Oct 02:35
f3872b1
Compare
Choose a tag to compare

See v1.0.0 for package description

What's Changed

Desktop was not working since R installation scripts were removing needed applications. Fix involved:

  • Change apt.txt to apt-extras.txt so that repo2docker does not recognize it
  • Update appendix to process apt-extras.txt into a list of package names
  • Install after R installation via apt-get
  • Move the man database code below installation of packages in apt-extras.txt
  • Create a mime directory so I don't have to do mkdir later to add desktop applications

Full Changelog: v1.0.0...v1.0.1

py-rocket-base beta release

16 Oct 21:35
928985d
Compare
Choose a tag to compare

The py-rocket-base image is a base image for the JupyterHubs with Python and RStudio. The py-rocket-base image is designed to install the Jupyter and JupyterHub environment with repo2docker and the R environment with Rocker installation scripts. You can scroll through the Rocker installation scripts to see how the environment is set up.

There are many ways to install R and RStudio into an image designed for JupyterHubs. The objective of py-rocket-base is that when you click the RStudio button in JupyterLab (in the hub) to enter the RStudio UI, you enter an environment that is the same as if you had used a Rocker image while if you are in the JupyterLab UI, the environment is the same as it you had used repo2docker to create the environment. In addition the py-rocker-base image has the Rocker scripts that can be used to extend the R environment to match other Rocker environments, e.g. verse, geospatial or ml.

The base image has the following support:

  • Python + JupyterLab with mamba handling package installation
  • R + RStudio
  • Desktop VNC for running applications
  • VSCode

Using the image as a base is via a Dockerfile:

FROM ghcr.io/nmfs-opensci/py-rocket-base:latest

# If needed to do a root install of software
USER root
COPY app.sh app.sh
RUN chmod +x app.sh && ./app.sh && rm app.sh
USER ${NB_USER}

# install R packages
COPY install.R install.R
RUN Rscript install.R && rm install.R

# install the Python libraries
COPY environment.yml environment.yml
RUN conda env update -n notebook -f environment.yml \
    && conda clean --all \
    && rm environment.yml