[bitnami/pytorch] Release 2.3.1-debian-12-r0 (#67579)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-06-06 12:54:26 +02:00
committed by GitHub
parent 04b8eadbc0
commit 77fe0cc07d
4 changed files with 16 additions and 10 deletions

View File

@@ -7,15 +7,15 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2024-05-13T23:43:50Z" \
org.opencontainers.image.created="2024-06-06T10:16:41Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/pytorch/README.md" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.3.0-debian-12-r2" \
org.opencontainers.image.ref.name="2.3.1-debian-12-r0" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/pytorch" \
org.opencontainers.image.title="pytorch" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="2.3.0"
org.opencontainers.image.version="2.3.1"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -28,8 +28,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgomp1 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 libtirpc3 numactl procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"python-3.11.9-9-linux-${OS_ARCH}-debian-12" \
"pytorch-2.3.0-1-linux-${OS_ARCH}-debian-12" \
"python-3.11.9-10-linux-${OS_ARCH}-debian-12" \
"pytorch-2.3.1-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -49,7 +49,7 @@ RUN mkdir /.local && chmod g+rwX /.local
COPY rootfs /
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
ENV APP_VERSION="2.3.0" \
ENV APP_VERSION="2.3.1" \
BITNAMI_APP_NAME="pytorch" \
PATH="/opt/bitnami/python/bin:$PATH"

View File

@@ -3,12 +3,12 @@
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "3.11.9-9"
"version": "3.11.9-10"
},
"pytorch": {
"arch": "amd64",
"distro": "debian-12",
"type": "NAMI",
"version": "2.3.0-1"
"version": "2.3.1-0"
}
}

View File

@@ -8,6 +8,7 @@
# Load Generic Libraries
. /opt/bitnami/scripts/liblog.sh
. /opt/bitnami/scripts/libvalidations.sh
# Functions
@@ -68,7 +69,12 @@ get_machine_ip() {
error "Could not find any IP address associated to hostname ${hostname}"
exit 1
fi
echo "${ip_addresses[0]}"
# Check if the first IP address is IPv6 to add brackets
if validate_ipv6 "${ip_addresses[0]}" ; then
echo "[${ip_addresses[0]}]"
else
echo "${ip_addresses[0]}"
fi
}
########################

View File

@@ -1,5 +1,5 @@
rolling-tags:
- "2"
- 2-debian-12
- 2.3.0
- 2.3.1
- latest