-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (JupyterHub): Uploaded DL frameworks images from base.
- Loading branch information
1 parent
8c30d48
commit 956c4d9
Showing
6 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |