mirror of
https://github.com/bitnami/containers.git
synced 2026-03-23 14:57:41 +08:00
6.2.1-debian-10-r35 release
This commit is contained in:
@@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/redis-sentinel/postunpack.sh
|
||||
ENV BITNAMI_APP_NAME="redis-sentinel" \
|
||||
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r34"
|
||||
BITNAMI_IMAGE_VERSION="6.2.1-debian-10-r35"
|
||||
|
||||
EXPOSE 26379
|
||||
|
||||
|
||||
@@ -106,5 +106,7 @@ indent() {
|
||||
for ((i = 0; i < num; i++)); do
|
||||
indent_unit="${indent_unit}${char}"
|
||||
done
|
||||
# shellcheck disable=SC2001
|
||||
# Complex regex, see https://github.com/koalaman/shellcheck/wiki/SC2001#exceptions
|
||||
echo "$string" | sed "s/^/${indent_unit}/"
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
# Functions
|
||||
########################
|
||||
# Gets semantic version
|
||||
# Gets semantic version
|
||||
# Arguments:
|
||||
# $1 - version: string to extract major.minor.patch
|
||||
# $2 - section: 1 to extract major, 2 to extract minor, 3 to extract patch
|
||||
@@ -38,7 +38,7 @@ get_sematic_version () {
|
||||
done
|
||||
|
||||
local number_regex='^[0-9]+$'
|
||||
if [[ "$section" =~ $number_regex ]] && (( $section > 0 )) && (( $section <= 3 )); then
|
||||
if [[ "$section" =~ $number_regex ]] && (( section > 0 )) && (( section <= 3 )); then
|
||||
echo "${version_sections[$section]}"
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user