mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
[bitnami/wordpress-nginx] Release 6.2.2-debian-11-r31 (#41406)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -5,11 +5,12 @@ FROM docker.io/bitnami/minideb:bullseye
|
|||||||
|
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
|
||||||
org.opencontainers.image.created="2023-07-15T21:11:36Z" \
|
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||||
|
org.opencontainers.image.created="2023-07-19T00:59:58Z" \
|
||||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||||
org.opencontainers.image.licenses="Apache-2.0" \
|
org.opencontainers.image.licenses="Apache-2.0" \
|
||||||
org.opencontainers.image.ref.name="6.2.2-debian-11-r29" \
|
org.opencontainers.image.ref.name="6.2.2-debian-11-r31" \
|
||||||
org.opencontainers.image.title="wordpress-nginx" \
|
org.opencontainers.image.title="wordpress-nginx" \
|
||||||
org.opencontainers.image.vendor="VMware, Inc." \
|
org.opencontainers.image.vendor="VMware, Inc." \
|
||||||
org.opencontainers.image.version="6.2.2"
|
org.opencontainers.image.version="6.2.2"
|
||||||
@@ -26,9 +27,9 @@ RUN install_packages acl ca-certificates curl less libaudit1 libbrotli1 libbsd0
|
|||||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||||
COMPONENTS=( \
|
COMPONENTS=( \
|
||||||
"php-8.2.8-2-linux-${OS_ARCH}-debian-11" \
|
"php-8.2.8-2-linux-${OS_ARCH}-debian-11" \
|
||||||
"nginx-1.25.1-0-linux-${OS_ARCH}-debian-11" \
|
"nginx-1.25.1-1-linux-${OS_ARCH}-debian-11" \
|
||||||
"mysql-client-10.11.4-0-linux-${OS_ARCH}-debian-11" \
|
"mysql-client-10.11.4-0-linux-${OS_ARCH}-debian-11" \
|
||||||
"wordpress-6.2.2-20-linux-${OS_ARCH}-debian-11" \
|
"wordpress-6.2.2-21-linux-${OS_ARCH}-debian-11" \
|
||||||
"render-template-1.0.5-7-linux-${OS_ARCH}-debian-11" \
|
"render-template-1.0.5-7-linux-${OS_ARCH}-debian-11" \
|
||||||
) && \
|
) && \
|
||||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "1.25.1-0"
|
"version": "1.25.1-1"
|
||||||
},
|
},
|
||||||
"php": {
|
"php": {
|
||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
@@ -27,6 +27,6 @@
|
|||||||
"arch": "amd64",
|
"arch": "amd64",
|
||||||
"distro": "debian-11",
|
"distro": "debian-11",
|
||||||
"type": "NAMI",
|
"type": "NAMI",
|
||||||
"version": "6.2.2-20"
|
"version": "6.2.2-21"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -187,6 +187,25 @@ validate_port() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Validate if the provided argument is a valid IPv6 address
|
||||||
|
# Arguments:
|
||||||
|
# $1 - IP to validate
|
||||||
|
# Returns:
|
||||||
|
# Boolean
|
||||||
|
#########################
|
||||||
|
validate_ipv6() {
|
||||||
|
local ip="${1:?ip is missing}"
|
||||||
|
local stat=1
|
||||||
|
local full_address_regex='^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$'
|
||||||
|
local short_address_regex='^((([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4}){0,6}::(([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4}){0,6})$'
|
||||||
|
|
||||||
|
if [[ $ip =~ $full_address_regex || $ip =~ $short_address_regex || $ip == "::" ]]; then
|
||||||
|
stat=0
|
||||||
|
fi
|
||||||
|
return "$stat"
|
||||||
|
}
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Validate if the provided argument is a valid IPv4 address
|
# Validate if the provided argument is a valid IPv4 address
|
||||||
# Arguments:
|
# Arguments:
|
||||||
@@ -204,7 +223,26 @@ validate_ipv4() {
|
|||||||
&& ${ip_array[2]} -le 255 && ${ip_array[3]} -le 255 ]]
|
&& ${ip_array[2]} -le 255 && ${ip_array[3]} -le 255 ]]
|
||||||
stat=$?
|
stat=$?
|
||||||
fi
|
fi
|
||||||
return $stat
|
return "$stat"
|
||||||
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
# Validate if the provided argument is a valid IPv4 or IPv6 address
|
||||||
|
# Arguments:
|
||||||
|
# $1 - IP to validate
|
||||||
|
# Returns:
|
||||||
|
# Boolean
|
||||||
|
#########################
|
||||||
|
validate_ip() {
|
||||||
|
local ip="${1:?ip is missing}"
|
||||||
|
local stat=1
|
||||||
|
|
||||||
|
if validate_ipv4 "$ip"; then
|
||||||
|
stat=0
|
||||||
|
else
|
||||||
|
stat=$(validate_ipv6 "$ip")
|
||||||
|
fi
|
||||||
|
return "$stat"
|
||||||
}
|
}
|
||||||
|
|
||||||
########################
|
########################
|
||||||
|
|||||||
Reference in New Issue
Block a user