1.0.1-debian-10-r72 release

This commit is contained in:
Bitnami Bot 2020-04-09 21:58:56 +00:00
parent c6472314ad
commit fbde4b194b
3 changed files with 27 additions and 2 deletions

View File

@ -16,7 +16,7 @@ RUN apt-get update && apt-get upgrade -y && \
COPY rootfs /
ENV BITNAMI_APP_NAME="harbor-adapter-clair" \
BITNAMI_IMAGE_VERSION="1.0.1-debian-10-r71" \
BITNAMI_IMAGE_VERSION="1.0.1-debian-10-r72" \
PATH="/opt/bitnami/harbor-adapter-clair/bin:/opt/bitnami/common/bin:$PATH"
EXPOSE 8080

View File

@ -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:

View File

@ -47,7 +47,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-debian-10`, `1.0.1-debian-10-r71`, `1`, `1.0.1`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-clair/blob/1.0.1-debian-10-r71/1/debian-10/Dockerfile)
* [`1-debian-10`, `1.0.1-debian-10-r72`, `1`, `1.0.1`, `latest` (1/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-harbor-adapter-clair/blob/1.0.1-debian-10-r72/1/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/harbor-adapter-clair GitHub repo](https://github.com/bitnami/bitnami-docker-harbor-adapter-clair).