mirror of
https://github.com/bitnami/containers.git
synced 2026-03-10 15:09:17 +08:00
2.26.2-debian-10-r20 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.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" ]
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user