From 67cb0449e909618266fbfc5afebad9274066012d Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Thu, 8 Sep 2022 08:16:52 +0200 Subject: [PATCH] [bitnami/jupyter-base-notebook] Release 2.3.1-debian-11-r36 (#5576) Signed-off-by: Bitnami Containers Signed-off-by: Bitnami Containers --- .../2/debian-11/Dockerfile | 35 +++++++++++-------- bitnami/jupyter-base-notebook/README.md | 2 +- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile b/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile index 99b865b46be8..351331d8e6fe 100644 --- a/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile +++ b/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile @@ -1,35 +1,40 @@ FROM docker.io/bitnami/minideb:bullseye -ENV HOME="/opt/bitnami/jupyterhub-singleuser/" \ - OS_ARCH="amd64" \ - OS_FLAVOUR="debian-11" \ - OS_NAME="linux" + +ARG TARGETARCH LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \ org.opencontainers.image.description="Application packaged by Bitnami" \ - org.opencontainers.image.ref.name="2.3.1-debian-11-r35" \ + org.opencontainers.image.ref.name="2.3.1-debian-11-r36" \ 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="2.3.1" +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 gzip libc6 libcrypt1 libgcc-s1 libstdc++6 procps tar RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "60138bae1b7541d2ecae75367eaa5ef158f6845dcb86ff746fc8402bdcae716b miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf miniconda-4.12.0-154-linux-amd64-debian-11.tar.gz + sha256sum -c miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf miniconda-4.12.0-154-linux-${OS_ARCH}-debian-11.tar.gz RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \ - if [ ! -f jupyter-base-notebook-2.3.1-153-linux-amd64-debian-11.tar.gz ]; then \ - curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-2.3.1-153-linux-amd64-debian-11.tar.gz -O ; \ + if [ ! -f jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-debian-11.tar.gz ]; then \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-debian-11.tar.gz -O ; \ + curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \ fi && \ - echo "40000fbbb169f061f5491fae52ee9945702a52b393adc25657650e135471d675 jupyter-base-notebook-2.3.1-153-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \ - tar -zxf jupyter-base-notebook-2.3.1-153-linux-amd64-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ - rm -rf jupyter-base-notebook-2.3.1-153-linux-amd64-debian-11.tar.gz + sha256sum -c jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \ + tar -zxf jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \ + rm -rf jupyter-base-notebook-2.3.1-153-linux-${OS_ARCH}-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 diff --git a/bitnami/jupyter-base-notebook/README.md b/bitnami/jupyter-base-notebook/README.md index e9ef9653af3e..55e0bf225ebf 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.1`, `2.3.1-debian-11-r35`, `latest` (2/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyter-base-notebook/2/debian-11/Dockerfile) +* [`2`, `2-debian-11`, `2.3.1`, `2.3.1-debian-11-r36`, `latest` (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-r35` (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).