From 4c4a104d7c4fcfbf311b62eec04dda3c53d158ca Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Fri, 13 Aug 2021 05:10:40 +0000 Subject: [PATCH] 4.9.3-debian-10-r210 release --- bitnami/parse/4/debian-10/Dockerfile | 2 +- .../opt/bitnami/scripts/libvalidations.sh | 16 ++++++++++++++++ bitnami/parse/README.md | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/bitnami/parse/4/debian-10/Dockerfile b/bitnami/parse/4/debian-10/Dockerfile index 4629bfe11277..f3a7f7747b37 100644 --- a/bitnami/parse/4/debian-10/Dockerfile +++ b/bitnami/parse/4/debian-10/Dockerfile @@ -19,7 +19,7 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/parse/postunpack.sh ENV BITNAMI_APP_NAME="parse" \ - BITNAMI_IMAGE_VERSION="4.9.3-debian-10-r209" \ + BITNAMI_IMAGE_VERSION="4.9.3-debian-10-r210" \ PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/mongodb/bin:/opt/bitnami/mongodb-client/bin:/opt/bitnami/parse/bin:/opt/bitnami/common/bin:$PATH" EXPOSE 1337 3000 diff --git a/bitnami/parse/4/debian-10/prebuildfs/opt/bitnami/scripts/libvalidations.sh b/bitnami/parse/4/debian-10/prebuildfs/opt/bitnami/scripts/libvalidations.sh index ca5afc91c7b5..2d7aaa943513 100644 --- a/bitnami/parse/4/debian-10/prebuildfs/opt/bitnami/scripts/libvalidations.sh +++ b/bitnami/parse/4/debian-10/prebuildfs/opt/bitnami/scripts/libvalidations.sh @@ -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: diff --git a/bitnami/parse/README.md b/bitnami/parse/README.md index 829624927d9c..4032703ffe77 100644 --- a/bitnami/parse/README.md +++ b/bitnami/parse/README.md @@ -48,7 +48,7 @@ Non-root container images add an extra layer of security and are generally recom Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/). -* [`4`, `4-debian-10`, `4.9.3`, `4.9.3-debian-10-r209`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/4.9.3-debian-10-r209/4/debian-10/Dockerfile) +* [`4`, `4-debian-10`, `4.9.3`, `4.9.3-debian-10-r210`, `latest` (4/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/4.9.3-debian-10-r210/4/debian-10/Dockerfile) Subscribe to project updates by watching the [bitnami/parse GitHub repo](https://github.com/bitnami/bitnami-docker-parse).