[bitnami/nats] Release 2.9.3-debian-11-r0 (#9792)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2022-10-11 03:01:20 +02:00
committed by GitHub
parent d4a4ed2c5b
commit 00b67ce663
4 changed files with 10 additions and 10 deletions

View File

@@ -4,11 +4,11 @@ ARG TARGETARCH
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
org.opencontainers.image.description="Application packaged by Bitnami" \
org.opencontainers.image.ref.name="2.9.2-debian-11-r5" \
org.opencontainers.image.ref.name="2.9.3-debian-11-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/nats" \
org.opencontainers.image.title="nats" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="2.9.2"
org.opencontainers.image.version="2.9.3"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -23,7 +23,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"render-template-1.0.3-154-linux-${OS_ARCH}-debian-11" \
"gosu-1.14.0-155-linux-${OS_ARCH}-debian-11" \
"nats-2.9.2-1-linux-${OS_ARCH}-debian-11" \
"nats-2.9.3-0-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -32,7 +32,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
fi && \
sha256sum -c "${COMPONENT}.tar.gz.sha256" && \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner --wildcards '*/files' && \
rm -rf "${COMPONENT}.tar.gz{,sha256}" ; \
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
done
RUN apt-get autoremove --purge -y curl && \
apt-get update && apt-get upgrade -y && \
@@ -41,7 +41,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/nats/postunpack.sh
ENV APP_VERSION="2.9.2" \
ENV APP_VERSION="2.9.3" \
BITNAMI_APP_NAME="nats" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/nats/bin:$PATH"

View File

@@ -8,10 +8,10 @@
},
"nats": {
"arch": "amd64",
"digest": "dab8ceb10d6c045f28fa8aac10298e7ea412e1c18dbe99fb87df9e80096456c3",
"digest": "1911f2263062428c86f3c504f38f618c947c2cc9c5d793c089c35b03c5f24b50",
"distro": "debian-11",
"type": "NAMI",
"version": "2.9.2-1"
"version": "2.9.3-0"
},
"render-template": {
"arch": "amd64",

View File

@@ -519,7 +519,7 @@ get_machine_id() {
get_disk_device_id() {
local device_id=""
if grep -q ^/dev /proc/mounts; then
device_id="$(grep -q ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
device_id="$(grep ^/dev /proc/mounts | awk '$2 == "/" { print $1 }' | tail -1)"
fi
# If it could not be autodetected, fallback to /dev/sda1 as a default
if [[ -z "$device_id" || ! -b "$device_id" ]]; then
@@ -538,7 +538,7 @@ get_disk_device_id() {
# Root disk ID
#########################
get_root_disk_device_id() {
get_disk_device_id | sed 's/[0-9]\+$//'
get_disk_device_id | sed -E 's/p?[0-9]+$//'
}
########################

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "2"
- "2-debian-11"
- "2.9.2"
- "2.9.3"
- "latest"