FROM docker.io/bitnami/minideb:bullseye ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ OS_ARCH="amd64" \ OS_FLAVOUR="debian-11" \ OS_NAME="linux" COPY prebuildfs / SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Install required system packages and dependencies RUN install_packages ca-certificates curl gzip libc6 libcrypt1 libgcc-s1 libstdc++6 procps tar wget RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-150-linux-amd64-debian-11.tar.gz && \ echo "201be5831fa6788ceab41d328f488129e26dade81be94d3316fbec854841050d /tmp/bitnami/pkg/cache/miniconda-4.12.0-150-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ tar -zxf /tmp/bitnami/pkg/cache/miniconda-4.12.0-150-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ rm -rf /tmp/bitnami/pkg/cache/miniconda-4.12.0-150-linux-amd64-debian-11.tar.gz RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-2.3.1-150-linux-amd64-debian-11.tar.gz && \ echo "3eae228323a9cb11fdccfb833d006a8e516c36f5f0bcdbba26ebdb8af29289b4 /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.3.1-150-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ tar -zxf /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.3.1-150-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ rm -rf /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.3.1-150-linux-amd64-debian-11.tar.gz RUN apt-get update && apt-get upgrade -y && \ rm -r /var/lib/apt/lists /var/cache/apt/archives RUN chmod g+rwX /opt/bitnami RUN mkdir /opt/bitnami/jupyterhub-singleuser/ && chmod g+rwX /opt/bitnami/jupyterhub-singleuser/ ENV APP_VERSION="2.3.1" \ BITNAMI_APP_NAME="jupyter-base-notebook" \ PATH="/opt/bitnami/miniconda/bin:$PATH" USER 1001 ENTRYPOINT [ "tini", "-g", "--" ] CMD [ "jupyterhub-singleuser" ]