2.26.2-debian-10-r20 release

This commit is contained in:
Bitnami Bot
2020-05-11 20:11:55 +00:00
parent e2ceca46da
commit a461ee69bd
3 changed files with 5 additions and 4 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.26.2-debian-10-r19" \
BITNAMI_IMAGE_VERSION="2.26.2-debian-10-r20" \
PATH="/opt/bitnami/common/bin:/opt/bitnami/git/bin:$PATH"
ENTRYPOINT [ "git" ]

View File

@@ -25,10 +25,11 @@ replace_in_file() {
# We should avoid using 'sed in-place' substitutions
# 1) They are not compatible with files mounted from ConfigMap(s)
# 2) We found incompatibility issues with Debian10 and "in-place" substitutions
del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
if [[ $posix_regex = true ]]; then
result="$(sed -E "s@$match_regex@$substitute_regex@g" "$filename")"
result="$(sed -E "s${del}${match_regex}${del}${substitute_regex}${del}g" "$filename")"
else
result="$(sed "s@$match_regex@$substitute_regex@g" "$filename")"
result="$(sed "s${del}${match_regex}${del}${substitute_regex}${del}g" "$filename")"
fi
echo "$result" > "$filename"
}