Skip to content

Commit

Permalink
feat (JupyterHub): Uploaded DL frameworks images from base.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniochavesgarcia committed Nov 20, 2023
1 parent 8c30d48 commit 956c4d9
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 0 deletions.
30 changes: 30 additions & 0 deletions jupyterhub/pth-cuda12.2-cudnn8-py3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# syntax=docker/dockerfile:1.3-labs

FROM ghcr.io/ertis-research/jupyterhub-base-cuda12.2-cudnn8-py3.11:main

ARG DEBIAN_FRONTEND=noninteractive

USER root

COPY requirements.txt /tmp/requirements.txt

RUN pip install --no-cache-dir -r /tmp/requirements.txt

ARG NB_USER="ertis"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

ENV HOME="/home/${NB_USER}"

RUN chsh -s /bin/bash

USER ${NB_UID}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN <<EOF
echo "alias ls='eza'" >> ~/.bashrc
echo "alias cat='batcat'" >> ~/.bashrc
EOF

WORKDIR "${HOME}"
8 changes: 8 additions & 0 deletions jupyterhub/pth-cuda12.2-cudnn8-py3.11/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Base GPU Jupyter notebook image for Jupyter hub

Based on the [Jupyter Docker Stacks](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) project and [Zonca's JupyterHub JetStream Deploy](https://github.com/zonca/jupyterhub-deploy-kubernetes-jetstream/blob/master/gpu/nvidia-tensorflow-jupyterhub/fix-permissions)

Please visit the project documentation site for help to use and contribute to this image and others.

- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)
- [Selecting an Image :: Core Stacks :: jupyter/docker-stacks-foundation](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-docker-stacks-foundation)
12 changes: 12 additions & 0 deletions jupyterhub/pth-cuda12.2-cudnn8-py3.11/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
numpy==1.26.2
scipy==1.11.4
matplotlib==3.8.2
Pillow==10.1.0
scikit-learn==1.3.2
pandas==2.1.3
plotly==5.18.0
requests==2.31.0
opencv-python==4.8.1.78
torch==2.1.1
torchvision==0.16.1
torchaudio==2.1.1
30 changes: 30 additions & 0 deletions jupyterhub/tf-cuda12.2-cudnn8-py3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# syntax=docker/dockerfile:1.3-labs

FROM ghcr.io/ertis-research/jupyterhub-base-cuda12.2-cudnn8-py3.11:main

ARG DEBIAN_FRONTEND=noninteractive

USER root

COPY requirements.txt /tmp/requirements.txt

RUN pip install --no-cache-dir -r /tmp/requirements.txt

ARG NB_USER="ertis"

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

ENV HOME="/home/${NB_USER}"

RUN chsh -s /bin/bash

USER ${NB_UID}

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN <<EOF
echo "alias ls='eza'" >> ~/.bashrc
echo "alias cat='batcat'" >> ~/.bashrc
EOF

WORKDIR "${HOME}"
8 changes: 8 additions & 0 deletions jupyterhub/tf-cuda12.2-cudnn8-py3.11/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Base GPU Jupyter notebook image for Jupyter hub

Based on the [Jupyter Docker Stacks](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) project and [Zonca's JupyterHub JetStream Deploy](https://github.com/zonca/jupyterhub-deploy-kubernetes-jetstream/blob/master/gpu/nvidia-tensorflow-jupyterhub/fix-permissions)

Please visit the project documentation site for help to use and contribute to this image and others.

- [Jupyter Docker Stacks on ReadTheDocs](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html)
- [Selecting an Image :: Core Stacks :: jupyter/docker-stacks-foundation](https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#jupyter-docker-stacks-foundation)
10 changes: 10 additions & 0 deletions jupyterhub/tf-cuda12.2-cudnn8-py3.11/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
numpy==1.26.2
scipy==1.11.4
matplotlib==3.8.2
Pillow==10.1.0
scikit-learn==1.3.2
pandas==2.1.3
plotly==5.18.0
requests==2.31.0
opencv-python==4.8.1.78
tensorflow==2.15.0

0 comments on commit 956c4d9

Please sign in to comment.