[bitnami/deepspeed] Release 0.17.6-debian-12-r0 (#86264)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
		
							parent
							
								
									dfb01dd7f2
								
							
						
					
					
						commit
						06c9558ec3
					
				| 
						 | 
					@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
 | 
				
			||||||
ARG TARGETARCH
 | 
					ARG TARGETARCH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
 | 
					LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
 | 
				
			||||||
      org.opencontainers.image.created="2025-09-07T00:26:45Z" \
 | 
					      org.opencontainers.image.created="2025-09-19T22:11:33Z" \
 | 
				
			||||||
      org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
 | 
					      org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
 | 
				
			||||||
      org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/deepspeed/README.md" \
 | 
					      org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/deepspeed/README.md" \
 | 
				
			||||||
      org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/deepspeed" \
 | 
					      org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/deepspeed" \
 | 
				
			||||||
      org.opencontainers.image.title="deepspeed" \
 | 
					      org.opencontainers.image.title="deepspeed" \
 | 
				
			||||||
      org.opencontainers.image.vendor="Broadcom, Inc." \
 | 
					      org.opencontainers.image.vendor="Broadcom, Inc." \
 | 
				
			||||||
      org.opencontainers.image.version="0.17.5"
 | 
					      org.opencontainers.image.version="0.17.6"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ENV HOME="/" \
 | 
					ENV HOME="/" \
 | 
				
			||||||
    OS_ARCH="${TARGETARCH:-amd64}" \
 | 
					    OS_ARCH="${TARGETARCH:-amd64}" \
 | 
				
			||||||
| 
						 | 
					@ -28,8 +28,8 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
 | 
				
			||||||
    DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
 | 
					    DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
 | 
				
			||||||
    mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
 | 
					    mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
 | 
				
			||||||
    COMPONENTS=( \
 | 
					    COMPONENTS=( \
 | 
				
			||||||
      "python-3.11.13-9-linux-${OS_ARCH}-debian-12" \
 | 
					      "python-3.11.13-10-linux-${OS_ARCH}-debian-12" \
 | 
				
			||||||
      "deepspeed-0.17.5-0-linux-${OS_ARCH}-debian-12" \
 | 
					      "deepspeed-0.17.6-0-linux-${OS_ARCH}-debian-12" \
 | 
				
			||||||
    ) ; \
 | 
					    ) ; \
 | 
				
			||||||
    for COMPONENT in "${COMPONENTS[@]}"; do \
 | 
					    for COMPONENT in "${COMPONENTS[@]}"; do \
 | 
				
			||||||
      if [ ! -f "${COMPONENT}.tar.gz" ]; then \
 | 
					      if [ ! -f "${COMPONENT}.tar.gz" ]; then \
 | 
				
			||||||
| 
						 | 
					@ -49,13 +49,13 @@ RUN uninstall_packages curl
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY rootfs /
 | 
					COPY rootfs /
 | 
				
			||||||
RUN mkdir /app /.cache && mkdir -p /home/deepspeed/.local && mkdir -p /home/deepspeed/.ssh && mkdir /home/deepspeed/.cache && ln -s /home/deepspeed/.local /opt/bitnami/deepspeed && ln -s /home/deepspeed/.ssh /opt/bitnami/deepspeed && ln -s /home/deepspeed/.cache /opt/bitnami/deepspeed && chmod g+rwX /app /.cache /home/deepspeed/.cache /home/deepspeed/.local
 | 
					RUN mkdir /app /.cache && mkdir -p /home/deepspeed/.local && mkdir -p /home/deepspeed/.ssh && mkdir /home/deepspeed/.cache && ln -s /home/deepspeed/.local /opt/bitnami/deepspeed && ln -s /home/deepspeed/.ssh /opt/bitnami/deepspeed && ln -s /home/deepspeed/.cache /opt/bitnami/deepspeed && chmod g+rwX /app /.cache /home/deepspeed/.cache /home/deepspeed/.local
 | 
				
			||||||
ENV APP_VERSION="0.17.5" \
 | 
					ENV APP_VERSION="0.17.6" \
 | 
				
			||||||
    BITNAMI_APP_NAME="deepspeed" \
 | 
					    BITNAMI_APP_NAME="deepspeed" \
 | 
				
			||||||
    CFLAGS="-s -I/opt/bitnami/python/include -I/opt/bitnami/common/include" \
 | 
					    CFLAGS="-s -I/opt/bitnami/python/include -I/opt/bitnami/common/include" \
 | 
				
			||||||
    CPLUS_INCLUDE_PATH="/opt/bitnami/common/include" \
 | 
					    CPLUS_INCLUDE_PATH="/opt/bitnami/common/include" \
 | 
				
			||||||
    CPPFLAGS="-I/opt/bitnami/python/include -I/opt/bitnami/common/include" \
 | 
					    CPPFLAGS="-I/opt/bitnami/python/include -I/opt/bitnami/common/include" \
 | 
				
			||||||
    C_INCLUDE_PATH="/opt/bitnami/common/include" \
 | 
					    C_INCLUDE_PATH="/opt/bitnami/common/include" \
 | 
				
			||||||
    IMAGE_REVISION="1" \
 | 
					    IMAGE_REVISION="0" \
 | 
				
			||||||
    LDFLAGS="-Wl,-rpath: /opt/bitnami/python/lib -L/opt/bitnami/python/lib -Wl,-rpath: /opt/bitnami/common/lib -L/opt/bitnami/common/lib" \
 | 
					    LDFLAGS="-Wl,-rpath: /opt/bitnami/python/lib -L/opt/bitnami/python/lib -Wl,-rpath: /opt/bitnami/common/lib -L/opt/bitnami/common/lib" \
 | 
				
			||||||
    LD_LIBRARY_PATH="/opt/bitnami/python/lib:/opt/bitnami/common/lib:${LD_LIBRARY_PATH}" \
 | 
					    LD_LIBRARY_PATH="/opt/bitnami/python/lib:/opt/bitnami/common/lib:${LD_LIBRARY_PATH}" \
 | 
				
			||||||
    PATH="/opt/bitnami/common/bin:/opt/bitnami/python/bin:$PATH" \
 | 
					    PATH="/opt/bitnami/common/bin:/opt/bitnami/python/bin:$PATH" \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -259,6 +259,8 @@ generate_systemd_conf() {
 | 
				
			||||||
    local success_exit_status=""
 | 
					    local success_exit_status=""
 | 
				
			||||||
    local custom_service_content=""
 | 
					    local custom_service_content=""
 | 
				
			||||||
    local working_directory=""
 | 
					    local working_directory=""
 | 
				
			||||||
 | 
					    local timeout_start_sec="2min"
 | 
				
			||||||
 | 
					    local timeout_stop_sec="30s"
 | 
				
			||||||
    # Parse CLI flags
 | 
					    # Parse CLI flags
 | 
				
			||||||
    shift
 | 
					    shift
 | 
				
			||||||
    while [[ "$#" -gt 0 ]]; do
 | 
					    while [[ "$#" -gt 0 ]]; do
 | 
				
			||||||
| 
						 | 
					@ -277,6 +279,8 @@ generate_systemd_conf() {
 | 
				
			||||||
            | --success-exit-status \
 | 
					            | --success-exit-status \
 | 
				
			||||||
            | --custom-service-content \
 | 
					            | --custom-service-content \
 | 
				
			||||||
            | --working-directory \
 | 
					            | --working-directory \
 | 
				
			||||||
 | 
					            | --timeout-start-sec \
 | 
				
			||||||
 | 
					            | --timeout-stop-sec \
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
                var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
 | 
					                var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
 | 
				
			||||||
                shift
 | 
					                shift
 | 
				
			||||||
| 
						 | 
					@ -402,8 +406,8 @@ EOF
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    cat >> "$service_file" <<EOF
 | 
					    cat >> "$service_file" <<EOF
 | 
				
			||||||
# Optimizations
 | 
					# Optimizations
 | 
				
			||||||
TimeoutStartSec=2min
 | 
					TimeoutStartSec=${timeout_start_sec}
 | 
				
			||||||
TimeoutStopSec=30s
 | 
					TimeoutStopSec=${timeout_stop_sec}
 | 
				
			||||||
IgnoreSIGPIPE=no
 | 
					IgnoreSIGPIPE=no
 | 
				
			||||||
KillMode=mixed
 | 
					KillMode=mixed
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue