mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 21:27:26 +08:00
[bitnami/redis] Release 8.0.2-debian-12-r4 (#82583)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,10 +8,9 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-05-30T10:46:17Z" \
|
||||
org.opencontainers.image.created="2025-06-26T05:49:19Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redis/README.md" \
|
||||
org.opencontainers.image.ref.name="8.0.2-debian-12-r3" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redis" \
|
||||
org.opencontainers.image.title="redis" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
@@ -26,9 +25,11 @@ COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libgcc-s1 libgomp1 libssl3 libstdc++6 procps
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"wait-for-port-1.0.8-16-linux-${OS_ARCH}-debian-12" \
|
||||
"wait-for-port-1.0.9-0-linux-${OS_ARCH}-debian-12" \
|
||||
"redis-8.0.2-1-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
@@ -46,6 +47,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN ln -s /opt/bitnami/scripts/redis/entrypoint.sh /entrypoint.sh
|
||||
RUN ln -s /opt/bitnami/scripts/redis/run.sh /run.sh
|
||||
RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/redis/postunpack.sh
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.8-16"
|
||||
"version": "1.0.9-0"
|
||||
}
|
||||
}
|
||||
26
bitnami/redis/8.0/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/redis/8.0/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
set -eu
|
||||
|
||||
n=0
|
||||
max=2
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get autoremove --purge -y "$@"
|
||||
)
|
||||
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
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "8.0"
|
||||
- 8.0-debian-12
|
||||
- 8.0.2
|
||||
- latest
|
||||
- "8.0"
|
||||
- 8.0-debian-12
|
||||
- 8.0.2
|
||||
- latest
|
||||
|
||||
@@ -148,13 +148,13 @@ networks:
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: 'bitnami/redis:latest'
|
||||
image: bitnami/redis:latest
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
networks:
|
||||
- app-tier
|
||||
myapp:
|
||||
image: 'YOUR_APPLICATION_IMAGE'
|
||||
image: YOUR_APPLICATION_IMAGE
|
||||
networks:
|
||||
- app-tier
|
||||
```
|
||||
@@ -394,7 +394,7 @@ services:
|
||||
- REDIS_PORT_NUMBER=7000
|
||||
...
|
||||
ports:
|
||||
- '7000:7000'
|
||||
- 7000:7000
|
||||
....
|
||||
```
|
||||
|
||||
@@ -458,19 +458,19 @@ version: '2'
|
||||
|
||||
services:
|
||||
redis-master:
|
||||
image: 'bitnami/redis:latest'
|
||||
image: bitnami/redis:latest
|
||||
ports:
|
||||
- '6379'
|
||||
- 6379
|
||||
environment:
|
||||
- REDIS_REPLICATION_MODE=master
|
||||
- REDIS_PASSWORD=my_master_password
|
||||
volumes:
|
||||
- '/path/to/redis-persistence:/bitnami'
|
||||
- /path/to/redis-persistence:/bitnami
|
||||
|
||||
redis-replica:
|
||||
image: 'bitnami/redis:latest'
|
||||
image: bitnami/redis:latest
|
||||
ports:
|
||||
- '6379'
|
||||
- 6379
|
||||
depends_on:
|
||||
- redis-master
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user