1.9.0-debian-10-r61 release

This commit is contained in:
Bitnami Bot
2021-08-12 21:45:09 +00:00
parent c34e1c5384
commit c4fed63661
3 changed files with 18 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ RUN chmod g+rwX /opt/bitnami
COPY rootfs /
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
ENV BITNAMI_APP_NAME="pytorch" \
BITNAMI_IMAGE_VERSION="1.9.0-debian-10-r60" \
BITNAMI_IMAGE_VERSION="1.9.0-debian-10-r61" \
LD_LIBRARY_PATH="/opt/bitnami/python/lib/python3.7/site-packages/torch/lib/:/opt/bitnami/python/lib/python3.7/site-packages/PIL/.libs/:$LD_LIBRARY_PATH" \
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:$PATH"

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: