9.7.0-debian-10-r129 release

This commit is contained in:
Bitnami Bot 2021-08-24 13:53:19 +00:00
parent 813d47ecce
commit 0c7e833d44
3 changed files with 24 additions and 4 deletions

View File

@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/wavefront-proxy/postunpack.sh
ENV BITNAMI_APP_NAME="wavefront-proxy" \
BITNAMI_IMAGE_VERSION="9.7.0-debian-10-r128" \
BITNAMI_IMAGE_VERSION="9.7.0-debian-10-r129" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:$PATH"
EXPOSE 2878

View File

@ -10,7 +10,7 @@
# Functions
########################
# Replace a regex in a file
# Replace a regex-matching string in a file
# Arguments:
# $1 - filename
# $2 - match regex
@ -30,7 +30,7 @@ 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
local -r del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
if [[ $posix_regex = true ]]; then
result="$(sed -E "s${del}${match_regex}${del}${substitute_regex}${del}g" "$filename")"
else
@ -39,6 +39,26 @@ replace_in_file() {
echo "$result" > "$filename"
}
########################
# Replace a regex-matching multiline string in a file
# Arguments:
# $1 - filename
# $2 - match regex
# $3 - substitute regex
# Returns:
# None
#########################
replace_in_file_multiline() {
local filename="${1:?filename is required}"
local match_regex="${2:?match regex is required}"
local substitute_regex="${3:?substitute regex is required}"
local result
local -r del=$'\001' # Use a non-printable character as a 'sed' delimiter to avoid issues
result="$(perl -pe "BEGIN{undef $/;} s${del}${match_regex}${del}${substitute_regex}${del}sg" "$filename")"
echo "$result" > "$filename"
}
########################
# Remove a line in a file based on a regex
# Arguments:

View File

@ -29,7 +29,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`10`, `10-debian-10`, `10.7.0`, `10.7.0-debian-10-r43` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wavefront-proxy/blob/10.7.0-debian-10-r43/10/debian-10/Dockerfile)
* [`9`, `9-debian-10`, `9.7.0`, `9.7.0-debian-10-r128`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wavefront-proxy/blob/9.7.0-debian-10-r128/9/debian-10/Dockerfile)
* [`9`, `9-debian-10`, `9.7.0`, `9.7.0-debian-10-r129`, `latest` (9/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-wavefront-proxy/blob/9.7.0-debian-10-r129/9/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/wavefront-proxy GitHub repo](https://github.com/bitnami/bitnami-docker-wavefront-proxy).