2.27.0-debian-10-r37 release

This commit is contained in:
Bitnami Bot
2020-07-14 12:12:33 +00:00
parent fe9f31b5f9
commit a5b014dffc
3 changed files with 14 additions and 2 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-r36" \
BITNAMI_IMAGE_VERSION="2.27.0-debian-10-r37" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/git/bin:$PATH"
ENTRYPOINT [ "git" ]

View File

@@ -277,3 +277,15 @@ generate_random_string() {
result="$(head -n "$((count + 10))" /dev/urandom | tr -dc "$filter" | head -c "$count")"
echo "$result"
}
########################
# Create md5 hash from a string
# Arguments:
# $1 - string
# Returns:
# md5 hash - string
#########################
generate_md5_hash() {
local -r str="${1:?missing input string}"
echo -n "$str" | md5sum | awk '{print $1}'
}