mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 18:23:14 +02:00
[bitnami/pytorch] Release 2.13.0-debian-12-r0 (#95444)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="https://downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-06-20T02:33:17Z" \
|
||||
org.opencontainers.image.created="2026-07-11T12:02:07Z" \
|
||||
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.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.12.1"
|
||||
org.opencontainers.image.version="2.13.0"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -23,13 +23,13 @@ ENV HOME="/" \
|
||||
COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ca-certificates curl libbz2-1.0 libcom-err2 libcrypt1 libffi8 libgcc-s1 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 libtirpc3 numactl procps zlib1g
|
||||
RUN install_packages ca-certificates curl libbz2-1.0 libffi8 libgcc-s1 libjemalloc2 liblzma5 libncursesw6 libreadline8 libsqlite3-0 libssl3 libstdc++6 libtinfo6 numactl procps zlib1g
|
||||
RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"python-3.12.13-16-linux-${OS_ARCH}-debian-12" \
|
||||
"pytorch-2.12.1-0-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.14.6-6-linux-${OS_ARCH}-debian-12" \
|
||||
"pytorch-2.13.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -49,7 +49,7 @@ RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/pytorch/postunpack.sh
|
||||
ENV APP_VERSION="2.12.1" \
|
||||
ENV APP_VERSION="2.13.0" \
|
||||
BITNAMI_APP_NAME="pytorch" \
|
||||
IMAGE_REVISION="0" \
|
||||
LNAME="pytorch" \
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
383ae25265a900b0c678de59a1ddb7687b971aeca4bc5d22fda63204e318de70 python-3.12.13-16-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
d561b865f8edbade9b720b92e8c1a9eb3500de9f177acd8a8e2a56007ca83189 python-3.12.13-16-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
4b19f2f8beea1ca79ebe3ec3100930ee5e400ec04b41c53538b5244781e6caee python-3.14.6-6-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
861435320fcee05f78c8cd6f76be0ec8cec45f0cf47042c89b1708ff27986592 python-3.14.6-6-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
2e2f3cb45681d223f2ff84310f28074ceb2487998580c282eb10a32012dd06c9 pytorch-2.12.1-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
5fb0cc88fe3656b6af4c8c1752fac9b294a74e6fbab905b06ca099c0d26a4bb2 pytorch-2.13.0-0-linux-amd64-debian-12.tar.gz
|
||||
@@ -424,3 +424,23 @@ EOF
|
||||
WantedBy=bitnami.service
|
||||
EOF
|
||||
}
|
||||
|
||||
########################
|
||||
# Register a SIGTERM handler that forwards the signal to all child processes.
|
||||
# Should be called at the start of run.sh, before launching any background processes.
|
||||
# Globals:
|
||||
# None
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
service_register_term_forwarder() {
|
||||
_service_forward_term() {
|
||||
warn "Caught signal SIGTERM, passing it to child processes..."
|
||||
pgrep -P $$ | xargs kill -TERM 2>/dev/null
|
||||
wait
|
||||
exit $?
|
||||
}
|
||||
trap _service_forward_term TERM
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user