mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 05:27:22 +08:00
[bitnami/apache] Release 2.4.63-debian-12-r17 (#82584)
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-06-02T16:36:37Z" \
|
||||
org.opencontainers.image.created="2025-06-26T06:21:12Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/apache/README.md" \
|
||||
org.opencontainers.image.ref.name="2.4.63-debian-12-r16" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/apache" \
|
||||
org.opencontainers.image.title="apache" \
|
||||
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 libcrypt1 libexpat1 libffi8 libgcc-s1 libgmp10 libgnutls30 libhogweed6 libicu72 libidn2-0 libldap-2.5-0 liblzma5 libnettle8 libnghttp2-14 libp11-kit0 libpcre2-8-0 libpcre3 libsasl2-2 libssl3 libstdc++6 libtasn1-6 libunistring2 libxml2 openssl procps zlib1g
|
||||
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=( \
|
||||
"render-template-1.0.7-16-linux-${OS_ARCH}-debian-12" \
|
||||
"render-template-1.0.8-0-linux-${OS_ARCH}-debian-12" \
|
||||
"apache-2.4.63-5-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
@@ -44,6 +45,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/apache/postunpack.sh
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.7-16"
|
||||
"version": "1.0.8-0"
|
||||
}
|
||||
}
|
||||
26
bitnami/apache/2.4/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/apache/2.4/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:
|
||||
- "2.4"
|
||||
- 2.4-debian-12
|
||||
- 2.4.63
|
||||
- latest
|
||||
- "2.4"
|
||||
- 2.4-debian-12
|
||||
- 2.4.63
|
||||
- latest
|
||||
|
||||
@@ -85,10 +85,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:latest'
|
||||
image: bitnami/apache:latest
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- 80:8080
|
||||
- 443:8443
|
||||
volumes:
|
||||
- /path/to/app:/app
|
||||
```
|
||||
@@ -161,10 +161,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:latest'
|
||||
image: bitnami/apache:latest
|
||||
ports:
|
||||
- '80:8081'
|
||||
- '443:8443'
|
||||
- 80:8081
|
||||
- 443:8443
|
||||
environment:
|
||||
- APACHE_HTTP_PORT_NUMBER=8081
|
||||
```
|
||||
@@ -213,10 +213,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:latest'
|
||||
image: bitnami/apache:latest
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- 80:8080
|
||||
- 443:8443
|
||||
volumes:
|
||||
- /path/to/my_vhost.conf:/vhosts/my_vhost.conf:ro
|
||||
```
|
||||
@@ -254,10 +254,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:latest'
|
||||
image: bitnami/apache:latest
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- 80:8080
|
||||
- 443:8443
|
||||
volumes:
|
||||
- /path/to/apache-certs:/certs
|
||||
```
|
||||
@@ -279,10 +279,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
apache:
|
||||
image: 'bitnami/apache:latest'
|
||||
image: bitnami/apache:latest
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- 80:8080
|
||||
- 443:8443
|
||||
volumes:
|
||||
- /path/to/httpd.conf:/opt/bitnami/apache/conf/httpd.conf
|
||||
```
|
||||
@@ -374,8 +374,8 @@ services:
|
||||
apache:
|
||||
build: .
|
||||
ports:
|
||||
- '80:8181'
|
||||
- '443:8443'
|
||||
- 80:8181
|
||||
- 443:8443
|
||||
depends_on:
|
||||
- cloner
|
||||
volumes:
|
||||
@@ -383,7 +383,7 @@ services:
|
||||
- ./certs:/certs
|
||||
- data:/app
|
||||
cloner:
|
||||
image: 'bitnami/git:latest'
|
||||
image: bitnami/git:latest
|
||||
command:
|
||||
- clone
|
||||
- https://github.com/cloudacademy/static-website-example
|
||||
|
||||
Reference in New Issue
Block a user