mirror of
https://github.com/bitnami/containers.git
synced 2026-03-15 06:48:04 +08:00
1.9.0-debian-10-r61 release
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user