3.4.2-debian-11-r0 release
This commit is contained in:
parent
c217a001e6
commit
49a3f263dd
|
|
@ -0,0 +1,42 @@
|
|||
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 fonts-freefont-ttf fonts-ipafont-gothic fonts-kacst fonts-thai-tlwg fonts-wqy-zenhei gnupg gzip jq libavahi-client3 libavahi-common3 libblkid1 libbsd0 libbz2-1.0 libc6 libcom-err2 libcrypt1 libcups2 libdbus-1-3 libexpat1 libffi7 libgcc-s1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblz4-1 liblzma5 libmd0 libmount1 libncursesw6 libnettle8 libnsl2 libp11-kit0 libpcre2-8-0 libpcre3 libreadline8 libselinux1 libsqlite3-0 libssl1.1 libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libtirpc3 libunistring2 libx11-6 libx11-xcb1 libxau6 libxcb-dri3-0 libxcb1 libxdmcp6 libxext6 libxshmfence1 libxss1 libxtst6 libzstd1 procps tar wget zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.8.13-1-linux-amd64-debian-11.tar.gz && \
|
||||
echo "79af9dcbaa89c4047d2d24b4a4c2ae17b771fe94972734379b9e50ef3dec3442 /tmp/bitnami/pkg/cache/python-3.8.13-1-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-3.8.13-1-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-3.8.13-1-linux-amd64-debian-11.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/node-14.19.3-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "97cffecfb637e5758197e4eb14d50b42048768eba242da4b534f1d8bacbd6958 /tmp/bitnami/pkg/cache/node-14.19.3-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/node-14.19.3-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/node-14.19.3-0-linux-amd64-debian-11.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/grafana-image-renderer-3.4.2-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "ed46484a15b67c612d1749c2b2d70f97454058d6bf8af6f295e47f924881b350 /tmp/bitnami/pkg/cache/grafana-image-renderer-3.4.2-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/grafana-image-renderer-3.4.2-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/grafana-image-renderer-3.4.2-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 wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
|
||||
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' >> /etc/apt/sources.list.d/google.list && \
|
||||
install_packages google-chrome-unstable
|
||||
|
||||
ENV APP_VERSION="3.4.2" \
|
||||
BITNAMI_APP_NAME="grafana-image-renderer" \
|
||||
HTTP_HOST="0.0.0.0" \
|
||||
HTTP_PORT="8080" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:$PATH"
|
||||
|
||||
EXPOSE 3000 8080
|
||||
|
||||
WORKDIR /opt/bitnami/grafana-image-renderer
|
||||
USER 1001
|
||||
ENTRYPOINT [ "node" ]
|
||||
CMD [ "build/app.js", "server", "--config=conf/config.json" ]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
grafana-image-renderer:
|
||||
image: docker.io/bitnami/grafana-image-renderer:3
|
||||
ports:
|
||||
- '8080:8080'
|
||||
environment:
|
||||
HTTP_HOST: "0.0.0.0"
|
||||
HTTP_PORT: "8080"
|
||||
ENABLE_METRICS: 'true'
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"grafana-image-renderer": {
|
||||
"arch": "amd64",
|
||||
"digest": "ed46484a15b67c612d1749c2b2d70f97454058d6bf8af6f295e47f924881b350",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.4.2-0"
|
||||
},
|
||||
"node": {
|
||||
"arch": "amd64",
|
||||
"digest": "97cffecfb637e5758197e4eb14d50b42048768eba242da4b534f1d8bacbd6958",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "14.19.3-0"
|
||||
},
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "79af9dcbaa89c4047d2d24b4a4c2ae17b771fe94972734379b9e50ef3dec3442",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "3.8.13-1"
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
@ -38,7 +38,7 @@ Non-root container images add an extra layer of security and are generally recom
|
|||
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/).
|
||||
|
||||
|
||||
* [`3`, `3-debian-10`, `3.4.2`, `3.4.2-debian-10-r69`, `latest` (3/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-grafana-image-renderer/blob/3.4.2-debian-10-r69/3/debian-10/Dockerfile)
|
||||
* [`3`, `3-debian-11`, `3.4.2`, `3.4.2-debian-11-r0`, `latest` (3/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-grafana-image-renderer/blob/3.4.2-debian-11-r0/3/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/grafana-image-renderer GitHub repo](https://github.com/bitnami/bitnami-docker-grafana-image-renderer).
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ $ docker pull bitnami/grafana-image-renderer:[TAG]
|
|||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/grafana-image-renderer:latest 'https://github.com/bitnami/bitnami-docker-grafana-image-renderer.git#master:3/debian-10'
|
||||
$ docker build -t bitnami/grafana-image-renderer:latest 'https://github.com/bitnami/bitnami-docker-grafana-image-renderer.git#master:3/debian-11'
|
||||
```
|
||||
|
||||
## Connecting to other containers
|
||||
|
|
|
|||
Loading…
Reference in New Issue