From dd3e3d3ebda4b73e66ecbf37680637d41df93d4d Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 6 Jun 2022 11:51:28 +0000 Subject: [PATCH] 2.3.0-debian-11-r0 release --- .../2/debian-11/Dockerfile | 31 +++++++++++++++++++ .../2/debian-11/docker-compose.yml | 7 +++++ .../opt/bitnami/.bitnami_components.json | 16 ++++++++++ .../opt/bitnami/licenses/licenses.txt | 3 ++ .../prebuildfs/usr/sbin/install_packages | 24 ++++++++++++++ bitnami/jupyter-base-notebook/README.md | 2 +- 6 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 bitnami/jupyter-base-notebook/2/debian-11/Dockerfile create mode 100644 bitnami/jupyter-base-notebook/2/debian-11/docker-compose.yml create mode 100644 bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json create mode 100644 bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt create mode 100755 bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/usr/sbin/install_packages diff --git a/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile b/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile new file mode 100644 index 000000000000..174e125b7732 --- /dev/null +++ b/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile @@ -0,0 +1,31 @@ +FROM docker.io/bitnami/minideb:bullseye +LABEL maintainer "Bitnami " + +ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ + OS_ARCH="amd64" \ + OS_FLAVOUR="debian-11" \ + OS_NAME="linux" + +COPY prebuildfs / +# 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-0-linux-amd64-debian-11.tar.gz && \ + echo "201be5831fa6788ceab41d328f488129e26dade81be94d3316fbec854841050d /tmp/bitnami/pkg/cache/miniconda-4.12.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ + tar -zxf /tmp/bitnami/pkg/cache/miniconda-4.12.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \ + rm -rf /tmp/bitnami/pkg/cache/miniconda-4.12.0-0-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.0-2-linux-amd64-debian-11.tar.gz && \ + echo "d66f8c18c016e07bf14ff9096abf6ee8c58e8b80f612ca93d8124daf02c69e95 /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.3.0-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ + tar -zxf /tmp/bitnami/pkg/cache/jupyter-base-notebook-2.3.0-2-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.0-2-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.0" \ + BITNAMI_APP_NAME="jupyter-base-notebook" \ + PATH="/opt/bitnami/miniconda/bin:$PATH" + +USER 1001 +ENTRYPOINT [ "tini", "-g", "--" ] +CMD [ "jupyterhub-singleuser" ] diff --git a/bitnami/jupyter-base-notebook/2/debian-11/docker-compose.yml b/bitnami/jupyter-base-notebook/2/debian-11/docker-compose.yml new file mode 100644 index 000000000000..2a203737361c --- /dev/null +++ b/bitnami/jupyter-base-notebook/2/debian-11/docker-compose.yml @@ -0,0 +1,7 @@ +version: '2' +services: + jupyter-base-notebook: + image: docker.io/bitnami/jupyter-base-notebook:2 + command: ["tail", "-f", "/dev/null"] + ports: + - 8888:8888 diff --git a/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json new file mode 100644 index 000000000000..1d57206d676a --- /dev/null +++ b/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -0,0 +1,16 @@ +{ + "jupyter-base-notebook": { + "arch": "amd64", + "digest": "d66f8c18c016e07bf14ff9096abf6ee8c58e8b80f612ca93d8124daf02c69e95", + "distro": "debian-11", + "type": "NAMI", + "version": "2.3.0-2" + }, + "miniconda": { + "arch": "amd64", + "digest": "201be5831fa6788ceab41d328f488129e26dade81be94d3316fbec854841050d", + "distro": "debian-11", + "type": "NAMI", + "version": "4.12.0-0" + } +} \ No newline at end of file diff --git a/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt b/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/opt/bitnami/licenses/licenses.txt new file mode 100644 index 000000000000..c76ba31f3b8a --- /dev/null +++ b/bitnami/jupyter-base-notebook/2/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/2/debian-11/prebuildfs/usr/sbin/install_packages b/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/usr/sbin/install_packages new file mode 100755 index 000000000000..c9577647443b --- /dev/null +++ b/bitnami/jupyter-base-notebook/2/debian-11/prebuildfs/usr/sbin/install_packages @@ -0,0 +1,24 @@ +#!/bin/sh +set -e +set -u +export DEBIAN_FRONTEND=noninteractive +n=0 +max=2 +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 +rm -r /var/lib/apt/lists /var/cache/apt/archives diff --git a/bitnami/jupyter-base-notebook/README.md b/bitnami/jupyter-base-notebook/README.md index 44a558d367db..21bdc4598717 100644 --- a/bitnami/jupyter-base-notebook/README.md +++ b/bitnami/jupyter-base-notebook/README.md @@ -28,7 +28,7 @@ $ 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.0`, `2.3.0-debian-11-r-1`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/2.3.0-debian-11-r-1/2/debian-11/Dockerfile) +* [`2`, `2-debian-11`, `2.3.0`, `2.3.0-debian-11-r0`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/2.3.0-debian-11-r0/2/debian-11/Dockerfile) * [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r0` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook/blob/1.5.0-debian-11-r0/1/debian-11/Dockerfile) Subscribe to project updates by watching the [bitnami/jupyter-base-notebook GitHub repo](https://github.com/bitnami/bitnami-docker-jupyter-base-notebook).