mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 21:27:26 +08:00
0.18.0-debian-11-r0 release
This commit is contained in:
committed by
Bitnami Containers
parent
67d3e24a8d
commit
ac727bf008
27
bitnami/jsonnet/0/debian-11/Dockerfile
Normal file
27
bitnami/jsonnet/0/debian-11/Dockerfile
Normal file
@@ -0,0 +1,27 @@
|
||||
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 libc6 libgcc-s1 libstdc++6 procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/jsonnet-0.18.0-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "c1eca0f538b76f7075a620ad2c8b17bd9f284199099fcc4b2b7b4e7c9fdbdd5f /tmp/bitnami/pkg/cache/jsonnet-0.18.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/jsonnet-0.18.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/jsonnet-0.18.0-0-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 chmod +x /opt/bitnami/jsonnet/bin/jsonnet
|
||||
ENV APP_VERSION="0.18.0" \
|
||||
BITNAMI_APP_NAME="jsonnet" \
|
||||
PATH="/opt/bitnami/jsonnet/bin:$PATH"
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "jsonnet" ]
|
||||
CMD [ "--help" ]
|
||||
10
bitnami/jsonnet/0/debian-11/docker-compose.yml
Normal file
10
bitnami/jsonnet/0/debian-11/docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
jsonnet:
|
||||
image: docker.io/bitnami/jsonnet:0
|
||||
volumes:
|
||||
- jsonnet_data:/bitnami
|
||||
volumes:
|
||||
jsonnet_data:
|
||||
driver: local
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"jsonnet": {
|
||||
"arch": "amd64",
|
||||
"digest": "c1eca0f538b76f7075a620ad2c8b17bd9f284199099fcc4b2b7b4e7c9fdbdd5f",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "0.18.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
|
||||
24
bitnami/jsonnet/0/debian-11/prebuildfs/usr/sbin/install_packages
Executable file
24
bitnami/jsonnet/0/debian-11/prebuildfs/usr/sbin/install_packages
Executable 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
|
||||
@@ -28,7 +28,7 @@ $ docker run --name jsonnet bitnami/jsonnet: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/).
|
||||
|
||||
|
||||
* [`0`, `0-debian-10`, `0.18.0`, `0.18.0-debian-10-r162`, `latest` (0/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.18.0-debian-10-r162/0/debian-10/Dockerfile)
|
||||
* [`0`, `0-debian-11`, `0.18.0`, `0.18.0-debian-11-r0`, `latest` (0/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-jsonnet/blob/0.18.0-debian-11-r0/0/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/jsonnet GitHub repo](https://github.com/bitnami/bitnami-docker-jsonnet).
|
||||
|
||||
@@ -49,7 +49,7 @@ $ docker pull bitnami/jsonnet:[TAG]
|
||||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/jsonnet:latest 'https://github.com/bitnami/bitnami-docker-jsonnet.git#master:0/debian-10'
|
||||
$ docker build -t bitnami/jsonnet:latest 'https://github.com/bitnami/bitnami-docker-jsonnet.git#master:0/debian-11'
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Reference in New Issue
Block a user