2.27.0-debian-10-r10 release

This commit is contained in:
Bitnami Bot
2020-06-11 16:59:04 +00:00
parent 0ff2fc3261
commit 3b12913716
3 changed files with 13 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ RUN apt-get update && apt-get upgrade -y && \
RUN /build/bitnami-user.sh
ENV BITNAMI_APP_NAME="git" \
BITNAMI_IMAGE_VERSION="2.27.0-debian-10-r9" \
BITNAMI_IMAGE_VERSION="2.27.0-debian-10-r10" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/git/bin:$PATH"
ENTRYPOINT [ "git" ]

View File

@@ -54,7 +54,17 @@ wait_for_dns_lookup() {
# Machine IP
#########################
get_machine_ip() {
dns_lookup "$(hostname)"
local -a ip_addresses
local hostname
hostname="$(hostname)"
read -r -a ip_addresses <<< "$(dns_lookup "$hostname" | xargs echo)"
if [[ "${#ip_addresses[@]}" -gt 1 ]]; then
warn "Found more than one IP address associated to hostname ${hostname}: ${ip_addresses[*]}, will use ${ip_addresses[0]}"
elif [[ "${#ip_addresses[@]}" -lt 1 ]]; then
error "Could not find any IP address associated to hostname ${hostname}"
exit 1
fi
echo "${ip_addresses[0]}"
}
########################

View File

@@ -28,7 +28,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/tutorials/understand-rolling-tags-containers/).
* [`2-debian-10`, `2.27.0-debian-10-r9`, `2`, `2.27.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.27.0-debian-10-r9/2/debian-10/Dockerfile)
* [`2-debian-10`, `2.27.0-debian-10-r10`, `2`, `2.27.0`, `latest` (2/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-git/blob/2.27.0-debian-10-r10/2/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/git GitHub repo](https://github.com/bitnami/bitnami-docker-git).