Skip to content

Commit

Permalink
[bitnami/deepspeed] Release 0.10.0-debian-11-r25 (#44209)
Browse files Browse the repository at this point in the history
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
Co-authored-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
  • Loading branch information
bitnami-bot and javsalgar authored Aug 11, 2023
1 parent b077204 commit 5d0169e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions bitnami/deepspeed/0/debian-11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ARG TARGETARCH

LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-07-25T16:38:04Z" \
org.opencontainers.image.created="2023-08-10T15:05:24Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="0.10.0-debian-11-r8" \
org.opencontainers.image.ref.name="0.10.0-debian-11-r25" \
org.opencontainers.image.title="deepspeed" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="0.10.0"
Expand All @@ -26,9 +26,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN install_packages build-essential ca-certificates curl git jq libbz2-1.0 libcom-err2 libcrypt1 libffi7 libgcc-s1 libgomp1 libgssapi-krb5-2 libjemalloc2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblzma5 libncursesw6 libnsl2 libreadline8 libsqlite3-0 libssl1.1 libstdc++6 libtinfo6 libtirpc3 libuuid1 numactl openssh-server pkg-config procps unzip zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
COMPONENTS=( \
"render-template-1.0.5-9-linux-${OS_ARCH}-debian-11" \
"python-3.8.17-3-linux-${OS_ARCH}-debian-11" \
"deepspeed-0.10.0-4-linux-${OS_ARCH}-debian-11" \
"render-template-1.0.5-10-linux-${OS_ARCH}-debian-11" \
"python-3.8.17-4-linux-${OS_ARCH}-debian-11" \
"deepspeed-0.10.0-5-linux-${OS_ARCH}-debian-11" \
) && \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
Expand All @@ -46,7 +46,7 @@ RUN useradd -r -u 1001 -g root deepspeed
RUN mkdir /.local && chmod g+rwX /.local

COPY rootfs /
RUN mkdir /app /.cache && chmod g+rwX /app /.cache
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.10.0" \
BITNAMI_APP_NAME="deepspeed" \
CPLUS_INCLUDE_PATH="/opt/bitnami/common/include" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "0.10.0-4"
"version": "0.10.0-5"
},
"python": {
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "3.8.17-3"
"version": "3.8.17-4"
},
"render-template": {
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.0.5-9"
"version": "1.0.5-10"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ print_welcome_page
if ! am_i_root; then
export LNAME="deepspeed"
export LD_PRELOAD="/opt/bitnami/common/lib/libnss_wrapper.so"
if ! user_exists "$(id -u)" && [[ -f "$LD_PRELOAD" ]]; then
if [[ -f "$LD_PRELOAD" ]]; then
info "Configuring libnss_wrapper"
NSS_WRAPPER_PASSWD="$(mktemp)"
export NSS_WRAPPER_PASSWD
NSS_WRAPPER_GROUP="$(mktemp)"
export NSS_WRAPPER_GROUP
if [[ "$HOME" == "/" ]]; then
export HOME=/opt/bitnami/deepspeed
export HOME=/home/deepspeed
fi
echo "deepspeed:x:$(id -u):$(id -g):deepspeed:${HOME}:/bin/false" >"$NSS_WRAPPER_PASSWD"
echo "deepspeed:x:$(id -u):$(id -g):deepspeed:${HOME}:/bin/sh" >"$NSS_WRAPPER_PASSWD"
echo "deepspeed:x:$(id -g):" >"$NSS_WRAPPER_GROUP"
chmod 400 "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
fi
Expand Down

0 comments on commit 5d0169e

Please sign in to comment.