mirror of
https://github.com/bitnami/containers.git
synced 2026-03-12 14:57:54 +08:00
1.17.9-debian-10-r3 release
This commit is contained in:
@@ -10,7 +10,7 @@ ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libc6 libgeoip1 libpcre3 libssl1.1 procps sudo unzip zlib1g
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.17.9-0" --checksum 39988665ae1c5db61f9393cda6e68181210da8fd22e4d215c5391893db44ccf8
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "nginx" "1.17.9-1" --checksum 771662de14bc43324570c050c7fa7516bafb86daa80a487292ca3ba538b96904
|
||||
RUN . /opt/bitnami/scripts/libcomponent.sh && component_unpack "gosu" "1.11.0-3" --checksum c18bb8bcc95aa2494793ed5a506c4d03acc82c8c60ad061d5702e0b4048f0cb1
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -21,7 +21,7 @@ RUN chmod -R g+rwX /opt/bitnami/nginx/conf
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/nginx/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="nginx" \
|
||||
BITNAMI_IMAGE_VERSION="1.17.9-debian-10-r2" \
|
||||
BITNAMI_IMAGE_VERSION="1.17.9-debian-10-r3" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
NGINX_ENABLE_CUSTOM_PORTS="no" \
|
||||
NGINX_HTTPS_PORT_NUMBER="" \
|
||||
|
||||
@@ -21,6 +21,31 @@ dns_lookup() {
|
||||
getent ahosts "$host" | awk '/STREAM/ {print $1 }'
|
||||
}
|
||||
|
||||
#########################
|
||||
## Wait for a hostname and return the IP
|
||||
# Arguments:
|
||||
# $1 - hostname
|
||||
# $2 - number of retries
|
||||
# $3 - seconds to wait between retries
|
||||
# Returns:
|
||||
# - IP address that corresponds to the hostname
|
||||
#########################
|
||||
wait_for_dns_lookup() {
|
||||
local hostname="${1:?hostname is missing}"
|
||||
local retries="${2:-5}"
|
||||
local seconds="${3:-1}"
|
||||
check_host() {
|
||||
if [[ $(dns_lookup "$hostname") == "" ]]; then
|
||||
false
|
||||
else
|
||||
true
|
||||
fi
|
||||
}
|
||||
# Wait 10 minutes for the host to be ready
|
||||
retry_while "check_host ${hostname}" "$retries" "$seconds"
|
||||
dns_lookup "$hostname"
|
||||
}
|
||||
|
||||
########################
|
||||
# Get machine's IP
|
||||
# Arguments:
|
||||
|
||||
@@ -46,7 +46,7 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`1.17-debian-10`, `1.17.9-debian-10-r2`, `1.17`, `1.17.9` (1.17/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.17.9-debian-10-r2/1.17/debian-10/Dockerfile)
|
||||
* [`1.17-debian-10`, `1.17.9-debian-10-r3`, `1.17`, `1.17.9` (1.17/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.17.9-debian-10-r3/1.17/debian-10/Dockerfile)
|
||||
* [`1.16-debian-10`, `1.16.1-debian-10-r81`, `1.16`, `1.16.1`, `latest` (1.16/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.16.1-debian-10-r81/1.16/debian-10/Dockerfile)
|
||||
|
||||
# Get this image
|
||||
|
||||
Reference in New Issue
Block a user