mirror of
https://github.com/bitnami/containers.git
synced 2026-08-08 12:08:25 +08:00
[bitnami/apache] Release 2.4.67-debian-12-r5
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-05-21T00:45:01Z" \
|
||||
org.opencontainers.image.created="2026-05-23T06:46:46Z" \
|
||||
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.source="https://github.com/bitnami/containers/tree/main/bitnami/apache" \
|
||||
@@ -52,7 +52,7 @@ ENV APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
APP_VERSION="2.4.67" \
|
||||
BITNAMI_APP_NAME="apache" \
|
||||
IMAGE_REVISION="4" \
|
||||
IMAGE_REVISION="5" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/apache/bin:$PATH"
|
||||
|
||||
EXPOSE 8080 8443
|
||||
|
||||
@@ -803,6 +803,10 @@ apache_create_password_file() {
|
||||
local -r username="${2:?missing username}"
|
||||
local -r password="${3:?missing password}"
|
||||
|
||||
"${APACHE_BIN_DIR}/htpasswd" -bc "$file" "$username" "$password"
|
||||
am_i_root && configure_permissions_ownership "$file" --file-mode "600" --user "$APACHE_DAEMON_USER" --group "$APACHE_DAEMON_GROUP"
|
||||
# The -B flag uses bcrypt to hash the password, which is more secure than legacy APR1 (1000-iteration MD5) hash
|
||||
# The -C flag computing time used for the bcrypt algorithm (default is 5)
|
||||
"${APACHE_BIN_DIR}/htpasswd" -Bbc -C 12 "$file" "$username" "$password"
|
||||
am_i_root && configure_permissions_ownership "$file" --user "$APACHE_DAEMON_USER" --group "$APACHE_DAEMON_GROUP"
|
||||
# We can set strong permissions regardless the container is running as root or not
|
||||
chmod 0600 "$file"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user