mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
2.27.0-debian-10-r37 release
This commit is contained in:
@@ -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" ]
|
||||
|
||||
@@ -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}'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user