1.5.0-debian-11-r0 release
This commit is contained in:
parent
dd3e3d3ebd
commit
bde438f772
|
|
@ -0,0 +1,29 @@
|
|||
FROM docker.io/bitnami/minideb:bullseye
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV HOME="/" \
|
||||
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 libbrotli1 libc6 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 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/jupyterhub-1.5.0-2-linux-amd64-debian-11.tar.gz && \
|
||||
echo "507f07b44ecc184d7540e6542400118116c6930bcbf606166e341ff2950fd2e0 /tmp/bitnami/pkg/cache/jupyterhub-1.5.0-2-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/jupyterhub-1.5.0-2-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/jupyterhub-1.5.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
|
||||
|
||||
ENV APP_VERSION="1.5.0" \
|
||||
BITNAMI_APP_NAME="jupyterhub" \
|
||||
PATH="/opt/bitnami/miniconda/bin:/opt/bitnami/miniconda/bin/:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "jupyterhub" ]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
version: '2'
|
||||
services:
|
||||
jupyterhub:
|
||||
image: docker.io/bitnami/jupyterhub:1
|
||||
entrypoint: ["tail", "-f", "/dev/null"]
|
||||
ports:
|
||||
- 8081:8081
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"jupyterhub": {
|
||||
"arch": "amd64",
|
||||
"digest": "507f07b44ecc184d7540e6542400118116c6930bcbf606166e341ff2950fd2e0",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.5.0-2"
|
||||
},
|
||||
"miniconda": {
|
||||
"arch": "amd64",
|
||||
"digest": "201be5831fa6788ceab41d328f488129e26dade81be94d3316fbec854841050d",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "4.12.0-0"
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -26,7 +26,7 @@ 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-10`, `1.5.0`, `1.5.0-debian-10-r176`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyterhub/blob/1.5.0-debian-10-r176/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-11`, `1.5.0`, `1.5.0-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyterhub/blob/1.5.0-debian-11-r0/1/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/jupyterhub GitHub repo](https://github.com/bitnami/bitnami-docker-jupyterhub).
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ $ docker pull bitnami/jupyterhub:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/jupyterhub:latest 'https://github.com/bitnami/bitnami-docker-jupyterhub.git#master:1/debian-10'
|
||||
$ docker build -t bitnami/jupyterhub:latest 'https://github.com/bitnami/bitnami-docker-jupyterhub.git#master:1/debian-11'
|
||||
```
|
||||
|
||||
## Why use a non-root container?
|
||||
|
|
|
|||
Loading…
Reference in New Issue