[bitnami/jupyterhub] Release 3.0.0-debian-11-r0 (#8175)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot 2022-09-28 18:28:56 +02:00 committed by GitHub
parent 02a7237239
commit 6ed8c61d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 110 additions and 2 deletions

View File

@ -0,0 +1,47 @@
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/jupyterhub" \
org.opencontainers.image.title="jupyterhub" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.0.0"
ENV HOME="/" \
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 libbrotli1 libcom-err2 libcrypt1 libcurl4 libgcc-s1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle8 libnghttp2-14 libp11-kit0 libpsl5 librtmp1 libsasl2-2 libssh2-1 libstdc++6 libtasn1-6 libunistring2 procps zlib1g
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 jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz ]; then \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz -O ; \
curl -SsLf https://downloads.bitnami.com/files/stacksmith/jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 -O ; \
fi && \
sha256sum -c jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz.sha256 && \
tar -zxf jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf jupyterhub-3.0.0-3-linux-${OS_ARCH}-debian-11.tar.gz jupyterhub-3.0.0-3-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
ENV APP_VERSION="3.0.0" \
BITNAMI_APP_NAME="jupyterhub" \
PATH="/opt/bitnami/miniconda/bin:/opt/bitnami/miniconda/bin/:$PATH"
USER 1001
ENTRYPOINT [ "jupyterhub" ]

View File

@ -0,0 +1,7 @@
version: '2'
services:
jupyterhub:
image: docker.io/bitnami/jupyterhub:3
entrypoint: ["tail", "-f", "/dev/null"]
ports:
- 8081:8081

View File

@ -0,0 +1,16 @@
{
"jupyterhub": {
"arch": "amd64",
"digest": "1a26a2ac5db25f74333456d5d3e386d186b68000be7cb6f7380f4e838c1da2ef",
"distro": "debian-11",
"type": "NAMI",
"version": "3.0.0-3"
},
"miniconda": {
"arch": "amd64",
"digest": "0ce4d37088c0efd4218c86f1fe0f0461e5daeae94dc9a651e213ed2d7a766f10",
"distro": "debian-11",
"type": "NAMI",
"version": "4.12.0-157"
}
}

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
rolling-tags:
- "3"
- "3-debian-11"
- "3.0.0"
- "latest"

View File

@ -26,7 +26,8 @@ This image is meant to run in a Kubernetes cluster.
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/).
* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r41`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyterhub/1/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/jupyterhub/3/debian-11/Dockerfile)
* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r41` (1/debian-11/Dockerfile)](https://github.com/bitnami/containers/blob/main/bitnami/jupyterhub/1/debian-11/Dockerfile)
Subscribe to project updates by watching the [bitnami/containers GitHub repo](https://github.com/bitnami/containers).
@ -72,6 +73,10 @@ Check the [official Jupyter Hub documentation](https://jupyterhub.readthedocs.io
$ docker run --rm --name jupyterhub bitnami/jupyterhub:latest --help-all
```
## Branch Deprecation Notice
JupyterHub's branch 1 is no longer maintained by upstream and is now internally tagged as to be deprecated. This branch will no longer be released in our catalog a month after this notice is published, but already released container images will still persist in the registries. Valid to be removed starting on: 10-28-2022
## Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues), or submit a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.

View File

@ -1,7 +1,7 @@
version: '2'
services:
jupyterhub:
image: docker.io/bitnami/jupyterhub:1
image: docker.io/bitnami/jupyterhub:3
entrypoint: ["tail", "-f", "/dev/null"]
ports:
- 8081:8081