mirror of
https://github.com/bitnami/containers.git
synced 2026-02-11 05:37:27 +08:00
1.4.0-debian-11-r0 release
This commit is contained in:
committed by
Bitnami Containers
parent
a855008d56
commit
3f11842e76
31
bitnami/prometheus-rsocket-proxy/1/debian-11/Dockerfile
Normal file
31
bitnami/prometheus-rsocket-proxy/1/debian-11/Dockerfile
Normal file
@@ -0,0 +1,31 @@
|
||||
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 procps tar wget
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/java-1.8.333-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "02a91d298bbe3bb5d240f635802a50b2970b19eba960c1804b7275f88a944bb3 /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/java-1.8.333-0-linux-amd64-debian-11.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/prometheus-rsocket-proxy-1.4.0-0-linux-amd64-debian-11.tar.gz && \
|
||||
echo "f730f4d1ab2af2277dedfb98ad545f618e310bbbddf117567103d8dce5395650 /tmp/bitnami/pkg/cache/prometheus-rsocket-proxy-1.4.0-0-linux-amd64-debian-11.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/prometheus-rsocket-proxy-1.4.0-0-linux-amd64-debian-11.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/prometheus-rsocket-proxy-1.4.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 touch /opt/bitnami/prometheus-rsocket-proxy/prometheus-rsocket-proxy.log && chmod -R g+rwX /opt/bitnami/prometheus-rsocket-proxy
|
||||
|
||||
ENV APP_VERSION="1.4.0" \
|
||||
BITNAMI_APP_NAME="prometheus-rsocket-proxy" \
|
||||
PATH="/opt/bitnami/java/bin:$PATH"
|
||||
|
||||
WORKDIR /opt/bitnami/prometheus-rsocket-proxy
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/opt/bitnami/java/bin/java", "-jar", "/opt/bitnami/prometheus-rsocket-proxy/prometheus-rsocket-proxy.jar" ]
|
||||
@@ -0,0 +1,8 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
prometheus-rsocket-proxy:
|
||||
image: docker.io/bitnami/prometheus-rsocket-proxy:1
|
||||
ports:
|
||||
- '8080:8080'
|
||||
- '7001:7001'
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"java": {
|
||||
"arch": "amd64",
|
||||
"digest": "02a91d298bbe3bb5d240f635802a50b2970b19eba960c1804b7275f88a944bb3",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.8.333-0"
|
||||
},
|
||||
"prometheus-rsocket-proxy": {
|
||||
"arch": "amd64",
|
||||
"digest": "f730f4d1ab2af2277dedfb98ad545f618e310bbbddf117567103d8dce5395650",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.4.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
|
||||
@@ -35,7 +35,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/).
|
||||
|
||||
|
||||
* [`1`, `1-debian-10`, `1.4.0`, `1.4.0-debian-10-r98`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-prometheus-rsocket-proxy/blob/1.4.0-debian-10-r98/1/debian-10/Dockerfile)
|
||||
* [`1`, `1-debian-11`, `1.4.0`, `1.4.0-debian-11-r0`, `latest` (1/debian-11/Dockerfile)](https://github.com/bitnami/bitnami-docker-prometheus-rsocket-proxy/blob/1.4.0-debian-11-r0/1/debian-11/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/prometheus-rsocket-proxy GitHub repo](https://github.com/bitnami/bitnami-docker-prometheus-rsocket-proxy).
|
||||
|
||||
@@ -56,7 +56,7 @@ $ docker pull bitnami/prometheus-rsocket-proxy:[TAG]
|
||||
If you wish, you can also build the image yourself.
|
||||
|
||||
```console
|
||||
$ docker build -t bitnami/prometheus-rsocket-proxy:latest 'https://github.com/bitnami/bitnami-docker-prometheus-rsocket-proxy.git#master:1/debian-10'
|
||||
$ docker build -t bitnami/prometheus-rsocket-proxy:latest 'https://github.com/bitnami/bitnami-docker-prometheus-rsocket-proxy.git#master:1/debian-11'
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Reference in New Issue
Block a user