2.5.0-debian-10-r28 release

This commit is contained in:
Bitnami Bot
2021-08-13 13:06:44 +00:00
parent b3fd5d7ef8
commit 2834e12ed8
3 changed files with 18 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/kong/postunpack.sh
ENV BITNAMI_APP_NAME="kong" \
BITNAMI_IMAGE_VERSION="2.5.0-debian-10-r27" \
BITNAMI_IMAGE_VERSION="2.5.0-debian-10-r28" \
PATH="/opt/bitnami/kong/bin:/opt/bitnami/kong/openresty/bin:/opt/bitnami/kong/openresty/luajit/bin:/opt/bitnami/kong/openresty/nginx/sbin:/opt/bitnami/common/bin:$PATH"
EXPOSE 8000 8001 8443 8444

View File

@@ -91,6 +91,22 @@ is_true_false_value() {
fi
}
########################
# Check if the provided argument is a boolean 1/0 value
# Arguments:
# $1 - Value to check
# Returns:
# Boolean
#########################
is_1_0_value() {
local -r bool="${1:-}"
if [[ "$bool" =~ ^[10]$ ]]; then
true
else
false
fi
}
########################
# Check if the provided argument is an empty string or not defined
# Arguments: