1.3.0-debian-10-r0 release

This commit is contained in:
Bitnami Bot
2021-04-16 16:01:43 +00:00
parent 15fb63b2ad
commit 2b51bc5d49
7 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
FROM docker.io/bitnami/minideb:buster
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV HOME="/" \
OS_ARCH="amd64" \
OS_FLAVOUR="debian-10" \
OS_NAME="linux"
COPY prebuildfs /
# Install required system packages and dependencies
RUN install_packages ca-certificates curl gzip libc6 libcom-err2 libcurl4 libgcc1 libgcrypt20 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed4 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle6 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.9.2-0-linux-amd64-debian-10.tar.gz && \
echo "35d4fd9e2c401689d9880a5cd2fb8e099202320a70f025d5f93ca5b800e45d26 /tmp/bitnami/pkg/cache/miniconda-4.9.2-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/miniconda-4.9.2-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/miniconda-4.9.2-0-linux-amd64-debian-10.tar.gz
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jupyterhub-1.3.0-0-linux-amd64-debian-10.tar.gz && \
echo "2c9c57633160ed1c4a193456aec57ba985a1997592e7c2bc7390676cba9e6751 /tmp/bitnami/pkg/cache/jupyterhub-1.3.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
tar -zxf /tmp/bitnami/pkg/cache/jupyterhub-1.3.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
rm -rf /tmp/bitnami/pkg/cache/jupyterhub-1.3.0-0-linux-amd64-debian-10.tar.gz
RUN chmod g+rwX /opt/bitnami
ENV BITNAMI_APP_NAME="jupyterhub" \
BITNAMI_IMAGE_VERSION="1.3.0-debian-10-r0" \
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:1
entrypoint: ["tail", "-f", "/dev/null"]
ports:
- 8081:8081

View File

@@ -0,0 +1,16 @@
{
"jupyterhub": {
"arch": "amd64",
"digest": "2c9c57633160ed1c4a193456aec57ba985a1997592e7c2bc7390676cba9e6751",
"distro": "debian-10",
"type": "NAMI",
"version": "1.3.0-0"
},
"miniconda": {
"arch": "amd64",
"digest": "35d4fd9e2c401689d9880a5cd2fb8e099202320a70f025d5f93ca5b800e45d26",
"distro": "debian-10",
"type": "NAMI",
"version": "4.9.2-0"
}
}

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

View File

@@ -0,0 +1,105 @@
# What is Jupyter Hub?
> A multi-user version of the notebook designed for companies, classrooms and research labs.
[Overview of Jupyter Hub](https://github.com/jupyterhub/jupyterhub/)
# TL;DR
```console
$ docker run --name jupyterhub bitnami/jupyterhub:latest
```
# Why use Bitnami Images?
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
* With Bitnami images the latest bug fixes and features are available as soon as possible.
* Bitnami containers, virtual machines and cloud images use the same components and configuration approach - making it easy to switch between formats based on your project needs.
* All our images are based on [minideb](https://github.com/bitnami/minideb) a minimalist Debian based container image which gives you a small base container image and the familiarity of a leading Linux distribution.
* All Bitnami images available in Docker Hub are signed with [Docker Content Trust (DCT)](https://docs.docker.com/engine/security/trust/content_trust/). You can use `DOCKER_CONTENT_TRUST=1` to verify the integrity of the images.
* Bitnami container images are released daily with the latest distribution packages available.
> This [CVE scan report](https://quay.io/repository/bitnami/jupyterhub?tab=tags) contains a security report with all open CVEs. To get the list of actionable security issues, find the "latest" tag, click the vulnerability report link under the corresponding "Security scan" field and then select the "Only show fixable" filter on the next page.
# Supported tags and respective `Dockerfile` links
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.3.0`, `1.3.0-debian-10-r0`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jupyterhub/blob/1.3.0-debian-10-r0/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/jupyterhub GitHub repo](https://github.com/bitnami/bitnami-docker-jupyterhub).
# Get this image
The recommended way to get the Bitnami jupyterhub Docker Image is to pull the prebuilt image from the [Docker Hub Registry](https://hub.docker.com/r/bitnami/jupyterhub).
```console
$ docker pull bitnami/jupyterhub:latest
```
To use a specific version, you can pull a versioned tag. You can view the [list of available versions](https://hub.docker.com/r/bitnami/jupyterhub/tags/) in the Docker Hub Registry.
```console
$ 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'
```
# Why use a non-root container?
Non-root container images add an extra layer of security and are generally recommended for production environments. However, because they run as a non-root user, privileged tasks are typically off-limits. Learn more about non-root containers [in our docs](https://docs.bitnami.com/tutorials/work-with-non-root-containers/).
# Configuration
## Running commands
To run commands inside this container you can use `docker run`, for example to execute `jupyterhub --version` you can follow the example below:
```console
$ docker run --rm --name jupyterhub bitnami/jupyterhub:latest --version
```
Check the [official Jupyter Hub documentation](https://jupyterhub.readthedocs.io/en/stable/reference/config-reference.html)i, or run the following to list of the available parameters.
```console
$ docker run --rm --name jupyterhub bitnami/jupyterhub:latest --help-all
```
# Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/bitnami-docker-jupyterhub/issues), or submit a [pull request](https://github.com/bitnami/bitnami-docker-jupyterhub/pulls) with your contribution.
# Issues
If you encountered a problem running this container, you can file an [issue](https://github.com/bitnami/bitnami-docker-jupyterhub/issues/new). For us to provide better support, be sure to include the following information in your issue:
- Host OS and version
- Docker version (`docker version`)
- Output of `docker info`
- Version of this container
- The command you used to run the container, and any relevant output you saw (masking any sensitive information)
# License
Copyright 2021 Bitnami
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

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