diff --git a/bitnami/jupyter-base-notebook/3/debian-11/Dockerfile b/bitnami/jupyter-base-notebook/3/debian-11/Dockerfile new file mode 100644 index 000000000000..ac5959449029 --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/Dockerfile @@ -0,0 +1,57 @@ +FROM docker.io/bitnami/minideb:bullseye + +ARG TARGETARCH + +LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ + org.opencontainers.image.description="Application packaged by Bitnami" \ + org.opencontainers.image.ref.name="3.0.0-debian-11-r0" \ + org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/jupyter-base-notebook" \ + org.opencontainers.image.title="jupyter-base-notebook" \ + org.opencontainers.image.vendor="VMware, Inc." \ + org.opencontainers.image.version="3.0.0" + +ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ + OS_ARCH="${TARGETARCH:-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 libc6 libcrypt1 libgcc-s1 libstdc++6 procps +RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ + if [ ! -f tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ + fi && \ + sha256sum -c tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz tini-0.19.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 +RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ + if [ ! -f miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ + fi && \ + sha256sum -c miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz miniconda-4.12.0-157-linux-${OS_ARCH}-debian-11.tar.gz.sha256 +RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ + if [ ! -f jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ + fi && \ + sha256sum -c jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz jupyter-base-notebook-3.0.0-2-linux-${OS_ARCH}-debian-11.tar.gz.sha256 +RUN apt-get update && apt-get upgrade -y && \ + apt-get clean && rm -rf /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="3.0.0" \ + BITNAMI_APP_NAME="jupyter-base-notebook" \ + PATH="/opt/bitnami/common/bin:/opt/bitnami/miniconda/bin:$PATH" + +USER 1001 +ENTRYPOINT [ "tini", "-g", "--" ] +CMD [ "jupyterhub-singleuser" ] diff --git a/bitnami/jupyter-base-notebook/3/debian-11/docker-compose.yml b/bitnami/jupyter-base-notebook/3/debian-11/docker-compose.yml new file mode 100644 index 000000000000..2259a354d0db --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/docker-compose.yml @@ -0,0 +1,7 @@ +version: '2' +services: + jupyter-base-notebook: + image: docker.io/bitnami/jupyter-base-notebook:3 + command: ["tail", "-f", "/dev/null"] + ports: + - 8888:8888 diff --git a/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json new file mode 100644 index 000000000000..0e4338e68da0 --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -0,0 +1,23 @@ +{ + "jupyter-base-notebook": { + "arch": "amd64", + "digest": "c2e54852265b251e13e0006c1a26a78224c7dbb9f12caff9327f960e5c322b36", + "distro": "debian-11", + "type": "NAMI", + "version": "3.0.0-2" + }, + "miniconda": { + "arch": "amd64", + "digest": "0ce4d37088c0efd4218c86f1fe0f0461e5daeae94dc9a651e213ed2d7a766f10", + "distro": "debian-11", + "type": "NAMI", + "version": "4.12.0-157" + }, + "tini": { + "arch": "amd64", + "digest": "50b38ec9a9be93542fe7d46c68f8a5d6f127acff24c3a7153edbb2849a474433", + "distro": "debian-11", + "type": "NAMI", + "version": "0.19.0-154" + } +} \ No newline at end of file diff --git a/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt new file mode 100644 index 000000000000..c76ba31f3b8a --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt @@ -0,0 +1,3 @@ +Bitnami containers ship with software bundles. You can find the licenses under: +/opt/bitnami/nami/COPYING +/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt diff --git a/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/usr/sbin/install_packages new file mode 100755 index 000000000000..77857a1a57f2 --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/prebuildfs/usr/sbin/install_packages @@ -0,0 +1,25 @@ +#!/bin/sh +set -eu + +n=0 +max=2 +export DEBIAN_FRONTEND=noninteractive + +until [ $n -gt $max ]; do + set +e + ( + apt-get update -qq && + apt-get install -y --no-install-recommends "$@" + ) + CODE=$? + set -e + if [ $CODE -eq 0 ]; then + break + fi + if [ $n -eq $max ]; then + exit $CODE + fi + echo "apt failed, retrying" + n=$(($n + 1)) +done +apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/jupyter-base-notebook/3/debian-11/tags-info.yaml b/bitnami/jupyter-base-notebook/3/debian-11/tags-info.yaml new file mode 100644 index 000000000000..63185fbb8dad --- /dev/null +++ b/bitnami/jupyter-base-notebook/3/debian-11/tags-info.yaml @@ -0,0 +1,5 @@ +rolling-tags: + - "3" + - "3-debian-11" + - "3.0.0" + - "latest" diff --git a/bitnami/jupyter-base-notebook/README.md b/bitnami/jupyter-base-notebook/README.md index 2497d06570c8..d808fc147e9d 100644 --- a/bitnami/jupyter-base-notebook/README.md +++ b/bitnami/jupyter-base-notebook/README.md @@ -28,7 +28,8 @@ $ docker run --name jupyter-base-notebook bitnami/jupyter-base-notebook:latest Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`2`, `2-debian-11`, `2.3.1`, `2.3.1-debian-11-r42`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile) +* [`3`, `3-debian-11`, `3.0.0`, `3.0.0-debian-11-r0`, `latest` (3/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/3/debian-11/Dockerfile) +* [`2`, `2-debian-11`, `2.3.1`, `2.3.1-debian-11-r42` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile) * [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r42` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers). diff --git a/bitnami/jupyter-base-notebook/docker-compose.yml b/bitnami/jupyter-base-notebook/docker-compose.yml index 2a203737361c..2259a354d0db 100644 --- a/bitnami/jupyter-base-notebook/docker-compose.yml +++ b/bitnami/jupyter-base-notebook/docker-compose.yml @@ -1,7 +1,7 @@ version: '2' services: jupyter-base-notebook: - image: docker.io/bitnami/jupyter-base-notebook:2 + image: docker.io/bitnami/jupyter-base-notebook:3 command: ["tail", "-f", "/dev/null"] ports: - 8888:8888