almalinux9-jupyterinstance (latest)
Published 2024-12-20 21:34:58 +11:00 by droneci
Installation
docker pull git.unkin.net/unkin/almalinux9-jupyterinstance:latestsha256:2df517d627f2bd81d5ce182da2b768e7eab6bb89883b738383561d2f048dabd2Image Layers
| ADD almalinux-9-default-amd64.tar.xz / # buildkit |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c rm -rf /etc/yum.repos.d/*.repo # buildkit |
| COPY files/*.repo /etc/yum.repos.d/ # buildkit |
| RUN /bin/sh -c curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm # buildkit |
| RUN /bin/sh -c dnf clean all && dnf makecache # buildkit |
| RUN /bin/sh -c dnf update -y && dnf install -y curl-minimal git # buildkit |
| RUN /bin/sh -c dnf clean all && rm -rf /var/cache/dnf # buildkit |
| RUN /bin/sh -c dnf clean all && dnf makecache # buildkit |
| RUN /bin/sh -c dnf install -y python3.12 python3.12-pip # buildkit |
| RUN /bin/sh -c dnf clean all && rm -rf /var/cache/dnf # buildkit |
| RUN /bin/sh -c python3.12 -m venv /opt/jupyter # buildkit |
| RUN /bin/sh -c /opt/jupyter/bin/python -m pip install --upgrade pip # buildkit |
| RUN /bin/sh -c /opt/jupyter/bin/pip install 'jupyterhub==5.2.1' 'notebook==7.2.2' # buildkit |
| RUN /bin/sh -c /opt/jupyter/bin/pip install numpy pandas matplotlib pyarrow pyyaml # buildkit |
| RUN /bin/sh -c useradd -m jupyter # buildkit |
| ENV HOME=/home/jupyter |
| RUN /bin/sh -c mkdir $HOME/work # buildkit |
| RUN /bin/sh -c chown jupyter:jupyter $HOME/work # buildkit |
| WORKDIR /home/jupyter/work |
| USER jupyter |
| CMD ["/opt/jupyter/bin/jupyterhub-singleuser"] |