2.26.0-debian-10-r18 release
This commit is contained in:
parent
5b8c9ce999
commit
8fd47a5de3
|
|
@ -16,7 +16,7 @@ RUN /build/bitnami-user.sh
|
|||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="git" \
|
||||
BITNAMI_IMAGE_VERSION="2.26.0-debian-10-r17" \
|
||||
BITNAMI_IMAGE_VERSION="2.26.0-debian-10-r18" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/git/bin:$PATH"
|
||||
|
||||
ENTRYPOINT [ "git" ]
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ $ docker run --name git bitnami/git:latest
|
|||
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/).
|
||||
|
||||
|
||||
* [`2-debian-10`, `2.26.0-debian-10-r17`, `2`, `2.26.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.26.0-debian-10-r17/2/debian-10/Dockerfile)
|
||||
* [`2-debian-10`, `2.26.0-debian-10-r18`, `2`, `2.26.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.26.0-debian-10-r18/2/debian-10/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/git GitHub repo](https://github.com/bitnami/bitnami-docker-git).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue