2026-01-08 00:57:06 UTC
7.66 GB
gfx906;gfx926;gfx928;gfx936
CPLUS_INCLUDE_PATH/opt/dtk/include:/opt/hyhal/include:/opt/dtk/llvm/include:
C_INCLUDE_PATH/opt/dtk/include:/opt/hyhal/include:/opt/dtk/llvm/include:
DEBIAN_FRONTENDnoninteractive
DTKROOT/opt/dtk
DTK_ARCHS DTK_HOME/opt/dtk
DTK_VERSION25.04.2
HIP_PATH/opt/dtk/hip
HYHAL_PATH/opt/hyhal
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
LD_LIBRARY_PATH/opt/ucx/lib:/opt/dtk/hip/lib:/opt/dtk/llvm/lib:/opt/dtk/lib:/opt/dtk/lib64:/opt/hyhal/lib:/opt/hyhal/lib64:/opt/mpi/lib:/opt/hwloc/lib:
MANPATH/opt/mpi/share/man:
MIOPEN_FIND_MODE3
MOFED_VERSION23.10-4.0.9.1
OS_VERSIONubuntu22.04
PATH/opt/ucx/bin:/opt/dtk/bin:/opt/dtk/llvm/bin:/opt/dtk/hip/bin:/opt/dtk/hip/bin/hipify:/opt/hyhal/bin:/opt/mpi/bin:/opt/hwloc/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PIPX_HOME/root/.local/share/pipx
PIPX_LOCAL_VENVS/root/.local/share/pipx/venvs
PIP_DISABLE_PIP_VERSION_CHECK1
PIP_NO_CACHE_DIR1
PIP_ROOT_USER_ACTIONignore
PLATFORMx86_64
PYTHON_VERSION3.10
ROCM_PATH/opt/dtk
SHELL/bin/bash
TZAsia/Shanghai
UCX_HOME/opt/ucx
UV_HTTP_TIMEOUT500
UV_INDEX_STRATEGYunsafe-best-match
UV_NO_CACHE1
[#000] sha256:7478e0ac0f23f94b2f27848fbcdf804a670fbf8d4bab26df842d40a10cd33059 - 0.37% (29 MB)
[#001] sha256:af84ea83ad2427e7b87b6a2645838978e2aef682069a131a0a6bb1c791b3a40b - 0.0% (283 Bytes)
[#002] sha256:67dbfee3fa9cd6fd989e6f95d9fe0697f33422f33a680a5b5a599aa9f1a3389c - 5.19% (407 MB)
[#003] sha256:91bde5d0d1cdb252e01f72cb79d22f9f2e4e28385d52ed9b4d466474ce21e4ec - 0.0% (323 Bytes)
[#004] sha256:cfe70d3356acd31b870239c3f4311022360a3d59f43e4294a5f30437dc9a4eba - 0.0% (297 KB)
[#005] sha256:f85e1e8e9f0102d532b4be1785cd0379829bd0c6085936fdaa00ffa11048987d - 0.0% (8.27 KB)
[#006] sha256:33775cb351679e1984d406ba410d1bd892ee1b7d35e2a2bd854937aba93a28f2 - 0.46% (36.5 MB)
[#007] sha256:c91a03125041ab7a40540f7cd4d91184f043946663d8cc4ff43d7e9eccb215b6 - 3.37% (264 MB)
[#008] sha256:91a1cef98b4592f90b5e3801cd1095c331972f2ba0532873a98fd890cb5d14ad - 30.85% (2.36 GB)
[#009] sha256:a9390e903d87e8e9cf8c53619117a0af47eee38f6b53509fe290536fdbb776b3 - 0.0% (130 Bytes)
[#010] sha256:140e980e8b9b64b8c73096ddd25198851afa579dda20f208d02d112781f6ed1e - 0.0% (297 KB)
[#011] sha256:56aea0a3996d643ffbc7a5a4d8e53fb971a6ac1257af2edba713082ea908eb90 - 0.0% (1.22 KB)
[#012] sha256:0335134284d1da1a097b6392ced69e2880c401b320c05123a19caf55b2e14961 - 0.0% (1.25 KB)
[#013] sha256:bd3ab4ce27204ee15bec95c5ba1f585cc1fd59d4a1d5752e488774f5ddd37a28 - 0.21% (16.5 MB)
[#014] sha256:6cc8fbd3951df6a0e6dea2ed18f862b776169ff6a85ccbd4e8bd74f976b3f9ea - 5.08% (398 MB)
[#015] sha256:5e853f64e9c59f1d9f2c384fd4865233c1d32498eabbe94d4c4fa63aff948f7a - 0.0% (92 Bytes)
[#016] sha256:ef0be8947c1f22f57720d459870d0f4c323be27b216b468a7a18fdaa2d9e552d - 0.64% (50.2 MB)
[#017] sha256:05610dfb8873c0606da33ed131c5e260638a1105f808e53e061ac553fc978335 - 0.05% (3.79 MB)
[#018] sha256:87f8e83a405ca41574c211793b68d1df31ebf7847c13d31c8c9564e9c11e50ba - 0.26% (20.7 MB)
[#019] sha256:a9565d95c5567174efb2f84e6ce4b33426b86985bd9638af4a003c035deb05ed - 0.32% (24.8 MB)
[#020] sha256:a259279cbf1172d892950aae069182e3345f28eaa34b3c0b6ee740286e3a6159 - 0.0% (4.43 KB)
[#021] sha256:5dda09c1c0ed528d2c5c3ac6ec41b26817b2ecd2528bca7ba8f7bd8362d98fc2 - 0.0% (830 Bytes)
[#022] sha256:eb01d4f1fa5d1c39582df16de62b8328447c6796678c7a5d3d80385b584dc258 - 0.0% (128 Bytes)
[#023] sha256:5d4244cd9d9ff73cd4209780668f82556742836645bfcf22830c2165c3765613 - 0.0% (12.9 KB)
[#024] sha256:7a37483cecba7998a1c2ce967e2e5f26efad50a9687141cdf512d385cede79e2 - 49.25% (3.77 GB)
[#025] sha256:86d1f8ab4f44a805c316dae25a32954b24d888a7c77b9fd9692b4f4cc9090b4f - 0.0% (1.36 KB)
[#026] sha256:bac4f57e5ae5a992606a8c96af3b780cc061044be9c9db87e12b181d8ff1aed9 - 0.0% (132 Bytes)
[#027] sha256:6af5f055b4340a3a67ca266d1ee8a161cb655ef1ebc82a403b85f169e5dbcb64 - 0.0% (1.2 KB)
[#028] sha256:e3f479f8f2bc890baf84915c6f232a6faa2f0d6f69112bbf9beec49a062ed44a - 0.0% (24.4 KB)
[#029] sha256:49b0d0e33d6826c59510f3736918d015986a52758e3b92224018cb66292c0029 - 0.0% (1.38 KB)
[#030] sha256:4d137cf06e06e6fad2d0624c9b26769dc63c76190117b6906d614de303fbd17c - 0.0% (182 Bytes)
[#031] sha256:13a6aaef75400f4b08cc97d5abb8ea5c8673f0de37252462680f2fc75198b06f - 1.41% (111 MB)
[#032] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#033] sha256:b156e5c15ed3639f01f45689c94d3dc591524221d4ae9cf8d73a48a0d80c5063 - 2.16% (170 MB)
[#034] sha256:358a4c282315fc075e2d25639caa665530fe228342efc4ffbd11dd787ade47e1 - 0.0% (29 KB)
[#035] sha256:25df3a26cca5c022cc1e76bf5ca860a5e64ff37418c751d8689376d866229556 - 0.36% (28.6 MB)
/bin/sh -c #(nop) ARG RELEASE
2024-09-11 16:25:16 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2024-09-11 16:25:16 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2024-09-11 16:25:16 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2024-09-11 16:25:17 UTC/bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
2024-09-11 16:25:18 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)LABEL maintainer=chenwch1@sugon.com
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ARG DEBIAN_FRONTEND=noninteractive
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ENV TZ=Asia/Shanghai
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ARG CPUS=32
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ENV SHELL=/bin/bash LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ENV PATH=/opt/hwloc/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_LIBRARY_PATH=/opt/hwloc/lib:
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)ENV PATH=/opt/mpi/bin:/opt/hwloc/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_LIBRARY_PATH=/opt/mpi/lib:/opt/hwloc/lib: MANPATH=/opt/mpi/share/man:
2025-06-19 22:41:30 +0800 (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive CPUS=32 /bin/sh -c printf 'deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse \ndeb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse \ndeb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse \ndeb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse \ndeb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse \ndeb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse \ndeb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse \ndeb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse \ndeb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse \ndeb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse' > /etc/apt/sources.list # buildkit
2025-06-19 22:42:52 +0800 (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive CPUS=32 /bin/sh -c apt-get update -y && apt-get install --no-install-recommends -y build-essential git wget gfortran elfutils libelf-dev libdrm-dev kmod libtinfo5 sqlite3 libsqlite3-dev libnuma-dev libgl1-mesa-dev alien rsync libpci-dev pciutils libpciaccess-dev libbabeltrace-dev pkg-config libfile-which-perl libfile-basedir-perl libfile-copy-recursive-perl libfile-listing-perl libprotobuf-dev libio-digest-perl libdigest-md5-file-perl libdata-dumper-simple-perl vim curl libcurlpp-dev openssh-server sudo locales openssl libssl-dev patch ninja-build libgoogle-glog-dev liblmdb-dev libopenblas-dev libgflags-dev libibverbs-dev ibverbs-utils libffi-dev zlib1g zlib1g-dev libbz2-dev libncurses-dev libsqlite3-dev read-edid numactl libjpeg62 liblzma-dev libgdbm-dev libgdbm-compat-dev libnss3-dev libreadline-dev libncurses5-dev libncursesw5-dev xz-utils tk-dev zip unzip cargo && locale-gen en_US.UTF-8 && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-06-19 22:42:53 +0800 (buildkit.dockerfile.v0)COPY env.sh /etc/profile.d/ # buildkit
2025-11-19 21:12:27 +0800 (buildkit.dockerfile.v0)COPY pci.ids /usr/share/misc/ # buildkit
2025-11-19 21:12:27 +0800 (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive CPUS=32 /bin/sh -c mkdir -p /etc/OpenCL/vendors/ && echo "libamdocl64.so" > /etc/OpenCL/vendors/amdocl64.icd && echo "/opt/dtk/opencl/lib/" >> /etc/ld.so.conf && ldconfig # buildkit
2025-11-19 21:12:57 +0800 (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive CPUS=32 /bin/sh -c apt-get update -y && apt-get install --no-install-recommends software-properties-common -y && add-apt-repository ppa:deadsnakes/ppa -y \ || true && apt-get install --no-install-recommends python3.10 python3.10-dev python3-pip -y && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 0 && update-alternatives --install /usr/bin/python python /usr/bin/python3.10 0 && update-alternatives --set python3 /usr/bin/python3.10 && apt-get clean && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/python3.10-config /usr/bin/python3-config # buildkit
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)RUN |2 DEBIAN_FRONTEND=noninteractive CPUS=32 /bin/sh -c pip install --no-cache-dir --upgrade pip ${SOURCES} && apt-get update -y && apt-get install --no-install-recommends -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio gst123 libopencv-dev python3-opencv figlet gdb net-tools htop && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)LABEL dtk-version=dtk-25.04.2
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ARG SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ARG DTK_RUNTIME
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV HYHAL_PATH=/opt/hyhal
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV DTKROOT=/opt/dtk
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV AMDGPU_TARGETS=gfx906;gfx926;gfx928;gfx936
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV ROCM_PATH=/opt/dtk
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV HIP_PATH=/opt/dtk/hip
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV MIOPEN_FIND_MODE=3
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV PATH=/opt/dtk/bin:/opt/dtk/llvm/bin:/opt/dtk/hip/bin:/opt/dtk/hip/bin/hipify:/opt/hyhal/bin:/opt/mpi/bin:/opt/hwloc/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/opt/dtk/lib:/opt/dtk/lib64:/opt/hyhal/lib:/opt/hyhal/lib64:/opt/mpi/lib:/opt/hwloc/lib:
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/opt/dtk/hip/lib:/opt/dtk/llvm/lib:/opt/dtk/lib:/opt/dtk/lib64:/opt/hyhal/lib:/opt/hyhal/lib64:/opt/mpi/lib:/opt/hwloc/lib:
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV C_INCLUDE_PATH=/opt/dtk/include:/opt/hyhal/include:/opt/dtk/llvm/include:
2025-11-19 21:14:14 +0800 (buildkit.dockerfile.v0)ENV CPLUS_INCLUDE_PATH=/opt/dtk/include:/opt/hyhal/include:/opt/dtk/llvm/include:
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)ADD dtk-25.04.2-tx-1226.tar.gz /opt # buildkit
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c ln -s /opt/dtk-25.04.2 /opt/dtk # buildkit
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)COPY pci.ids /usr/share/misc/ # buildkit
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c echo "source /opt/dtk-25.04.2/env.sh" >> /etc/bash.bashrc && echo "source /opt/dtk/env.sh" >> /etc/bash.bashrc # buildkit
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c echo "export ALLREDUCE_STREAM_WITH_COMPUTE=1" >> /etc/bash.bashrc # buildkit
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)ENV MOFED_VERSION=23.10-4.0.9.1
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)ENV OS_VERSION=ubuntu22.04
2025-12-26 21:25:59 +0800 (buildkit.dockerfile.v0)ENV PLATFORM=x86_64
2025-12-26 21:26:16 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c apt-get update -y && apt-get install --no-install-recommends -y build-essential libusb-1.0-0 lsof libelf1 debhelper libltdl-dev libmnl0 swig tk libpci3 bison dpatch tcl flex udev libgfortran5 kmod libfuse2 graphviz chrpath pciutils ethtool && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
2025-12-26 21:27:44 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c cd /tmp/ && wget -q http://content.mellanox.com/ofed/MLNX_OFED-${MOFED_VERSION}/MLNX_OFED_LINUX-${MOFED_VERSION}-${OS_VERSION}-${PLATFORM}.tgz && tar -xvf MLNX_OFED_LINUX-${MOFED_VERSION}-${OS_VERSION}-${PLATFORM}.tgz && MLNX_OFED_LINUX-${MOFED_VERSION}-${OS_VERSION}-${PLATFORM}/mlnxofedinstall --user-space-only --without-fw-update -q --force && rm -rf *MLNX_OFED* && rm -rf ${MOFED_DIR} && cat /etc/ssh/ssh_config | grep -v StrictHostKeyChecking > /etc/ssh/ssh_config.new && echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.new && mv /etc/ssh/ssh_config.new /etc/ssh/ssh_config # buildkit
2025-12-26 21:27:45 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c pip install --no-cache-dir --upgrade pip ${SOURCES} # buildkit
2025-12-26 21:28:02 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c pip3 install cmake==3.29.0 ninja==1.11.1 # buildkit
2025-12-26 21:28:24 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c cd /tmp && wget -O hwloc.tar.gz http://10.16.4.1:8000/pkg/openmpi/hwloc-2.12.1.tar.gz && mkdir hwloc-tmp && tar -xvf hwloc.tar.gz -C ./hwloc-tmp --strip-components 1 && cd hwloc-tmp && ./configure --prefix=/opt/hwloc && make -j $CPUS && make install && rm -rf /tmp/hwloc* # buildkit
2025-12-26 21:28:24 +0800 (buildkit.dockerfile.v0)ENV UCX_HOME=/opt/ucx
2025-12-26 21:28:24 +0800 (buildkit.dockerfile.v0)ENV PATH=/opt/ucx/bin:/opt/dtk/bin:/opt/dtk/llvm/bin:/opt/dtk/hip/bin:/opt/dtk/hip/bin/hipify:/opt/hyhal/bin:/opt/mpi/bin:/opt/hwloc/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2025-12-26 21:28:24 +0800 (buildkit.dockerfile.v0)ENV LD_LIBRARY_PATH=/opt/ucx/lib:/opt/dtk/hip/lib:/opt/dtk/llvm/lib:/opt/dtk/lib:/opt/dtk/lib64:/opt/hyhal/lib:/opt/hyhal/lib64:/opt/mpi/lib:/opt/hwloc/lib:
2025-12-26 21:30:07 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c cd /tmp/ && wget -O ucx.tar.gz http://10.16.4.1:8000/pkg/openmpi/ucx-1.15.0.tar.gz && mkdir ucx-tmp && tar -xvf ucx.tar.gz -C ./ucx-tmp --strip-components 1 && cd ucx-tmp && ./configure --prefix=${UCX_HOME} --with-rocm=/opt/dtk --enable-mt --enable-optimizations --enable-tuning --enable-cma && make -j64 && make install && rm -rf /tmp/ucx* # buildkit
2025-12-26 21:37:17 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c cd /tmp && wget -O openmpi.tar.gz http://10.16.4.1:8000/pkg/openmpi/openmpi-5.0.3.tar.gz && mkdir openmpi-tmp && tar -xvf openmpi.tar.gz -C ./openmpi-tmp --strip-components 1 && cd openmpi-tmp && ./configure --prefix=/opt/mpi/ --with-hwloc=/opt/hwloc/ --enable-orterun-prefix-by-default --enable-mpi-thread-multiple --enable-dlopen --with-ucx=${UCX_HOME} --with-rocm=/opt/dtk && make -j64 && make install && rm -rf /tmp/openmpi* # buildkit
2025-12-26 21:37:17 +0800 (buildkit.dockerfile.v0)RUN |4 DEBIAN_FRONTEND=noninteractive CPUS=32 SOURCES=-i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --default-timeout=100 DTK_RUNTIME=dtk-25.04.2-tx-1226.tar.gz /bin/sh -c echo "source /etc/profile.d/env.sh" >> /etc/bash.bashrc && ssh-keygen -A && mkdir -p /var/run/sshd && sed -i "s/#UseDNS .*/UseDNS no/" /etc/ssh/sshd_config # buildkit
2025-12-26 21:38:01 +0800 (buildkit.dockerfile.v0)LABEL maintainer=chenwch1@sugon.com
2025-12-26 21:38:01 +0800 (buildkit.dockerfile.v0)LABEL dtk-version=dtk-25.04.2
2025-12-26 21:38:01 +0800 (buildkit.dockerfile.v0)ARG SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver
2025-12-26 21:38:01 +0800 (buildkit.dockerfile.v0)COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
2025-12-26 21:38:01 +0800 (buildkit.dockerfile.v0)WORKDIR /tmprm
2025-12-26 21:38:02 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c pip3 install --no-cache-dir --ignore-installed -U blinker # buildkit
2025-12-26 21:53:32 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c pip3 install --no-cache-dir http://10.16.4.1:8000/debug/pytorch/dtk25.04.2-rc1/torch251-tag/torch-2.5.1%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/triton/dtk25.04.2/triton-lang-aa867475-torch251/triton-3.1.0%2Bdas.opt1.dtk25042.20251224.gaa867475-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/vision/dtk25.04.2-rc1/vision_torch251-tag/torchvision-0.20.1%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/apex/dtk25.04.2-rc1/apex-1.5.0%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/deepspeed/dtk25.04.2-rc1/deepspeed-0.15.4%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/dgl/dtk25.04.2-rc1/dgl-2.2.1%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/flash-attn/dtk25.04-llvm-0106/master-dev-859b5024/flash_attn-2.6.1%2Bdas.opt1.dtk2504.20251222.g859b5024-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/flash_attn/dtk25.04.2-rc1/dtk25.04-llvm0106/dropout_layer_norm-2.6.1%2Bdas.opt1.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/flash_attn/dtk25.04.2-rc1/dtk25.04-llvm0106/fused_dense_lib-2.6.1%2Bdas.opt1.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/flash_attn/dtk25.04.2-rc1/dtk25.04-llvm0106/rotary_emb-2.6.1%2Bdas.opt1.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/flash_attn/dtk25.04.2-rc1/dtk25.04-llvm0106/xentropy_cuda_lib-2.6.1%2Bdas.opt1.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/flashmla/dtk26.04-nmz-1209/master-dev-b14bad68-rccl/flash_mla-1.0.0%2Bdas.opt1.dtk2604.20251218.gb14bad68.rccl-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/lightop/dtk25.04.2/lightop-dev/lightop-dev-ef729bb6/lightop-0.6.0%2Bdas.dtk25042.20251225.gef729bb6-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/lmslim/dtk25.04.2/0.3.1%2Bdas.opt1.dtk25042/0.3.1%2Bdas.opt1.dtk25042-07a5af3e/lmslim-0.3.1%2Bdas.opt1.dtk25042.20251202.g07a5af3e-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/lmslim/dtk25.04.2-rc1/grouped_gemm-0.5.0%2Bdas.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/lmslim/dtk25.04.2-rc1/grouped_gemm_int4-0.5.0%2Bdas.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/lmslim/dtk25.04.2-rc1/moe_w8a8-0.0.1%2Bdas.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/lmslim/dtk25.04.2-rc1/moe_w8a8_prefill_gemm-0.0.1%2Bdas.dtk2504-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/temp/fastrlock-0.8.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/temp/cupy-12.3.0-cp310-cp310-linux_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/temp/ray-2.48.0-cp310-cp310-manylinux2014_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/transformer_engine/dtk-25.04.2-rc1/te-torch251-tag/transformer_engine-2.5.0%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/vllm/dtk25.04.2/0.11.0%2Bdas.opt1.alpha.dtk25042-ca4598a4/vllm-0.11.0%2Bdas.opt1.alpha.dtk25042.20251225.gca4598a4-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/amdsmi/amdsmi-24.5.3%2B02cbffb.dirty-py3-none-any.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/fastpt/dtk25.04.2-rc1/fastpt-2.1.1%2Bdas.dtk25042-cp310-cp310-linux_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/mmcv/dtk25.04.2-rc1/mmcv-torch251-fastpt-tag-1022/mmcv-2.2.0%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/torchaudio/dtk25.04.2-rc1/audio-torch251-fastpt-tag-1022/torchaudio-2.5.1%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/onnxruntime/dtk25.04.2-rc1/ort-torch251/onnxruntime-1.19.2%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/pytorch/dtk25.04.2-rc1/torch251-tag/torch-2.5.1%2Bdas.opt1.dtk25042-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/customized/triton/dtk25.04.2/triton-lang-aa867475-torch251/triton-3.1.0%2Bdas.opt1.dtk25042.20251224.gaa867475-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/megatron/dtk25.04.2-rc1/megatron-0.13.0/dcu_megatron-0.13.0%2Bdas.opt1.dtk25042-py3-none-any.whl ${SOURCES} && pip3 install --no-cache-dir http://10.16.4.1:8000/debug/megatron/dtk25.04.2-rc1/megatron-0.13.0/megatron_core-0.13.2-cp310-cp310-manylinux_2_28_x86_64.whl ${SOURCES} && pip3 install --no-cache-dir hypothesis==5.35.1 ${SOURCES} && pip3 install --no-cache-dir matplotlib ${SOURCES} && pip3 install --no-cache-dir pandas ${SOURCES} && pip3 install --no-cache-dir sympy==1.12.1 ${SOURCES} && pip3 install --no-cache-dir numa ${SOURCES} && pip3 install --no-cache-dir torchdata==0.8.0 ${SOURCES} && pip3 install --no-cache-dir numpy==1.25 ${SOURCES} && pip3 install --no-cache-dir quart ${SOURCES} && pip3 install --no-cache-dir numa ${SOURCES} && pip3 install --no-cache-dir setuptools==80.8.0 ${SOURCES} && pip3 install --no-cache-dir click==8.2.1 ${SOURCES} && pip3 install --no-cache-dir huggingface-hub==0.36.0 ${SOURCES} && pip3 install --no-cache-dir -U "ray[data,train,tune,serve]==2.48" ${SOURCES} && pip3 uninstall pynvml -y && wget http://10.16.4.1:8000/debug/onnxruntime/dtk25.04.2-rc1/ort-torch251/onnxruntime-1.19.2%2Bdas.opt1.dtk25042.run && chmod +x onnxruntime*.run && ./onnxruntime*.run && rm -rf /tmprm && wget -P /usr/share/figlet http://10.16.4.1:8000/pkg/slant.flf && sed -i -e '1a\DTK_VERSION=dtk-25.04.2' -e '1a\FRAMEWORK=vllm0.11.0' /usr/local/bin/docker-entrypoint.sh # buildkit
2025-12-26 21:53:32 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c echo "export HIP_VISIBLE_DEVICES=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15" >> /etc/bash.bashrc # buildkit
2025-12-26 21:53:32 +0800 (buildkit.dockerfile.v0)WORKDIR /workspace
2025-12-26 22:06:53 +0800 (buildkit.dockerfile.v0)COPY CHANGELOG_VLLM011.md /workspace/ # buildkit
2025-12-26 22:06:53 +0800 (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2025-12-26 22:06:53 +0800 (buildkit.dockerfile.v0)CMD ["/bin/bash"]
2025-12-26 22:06:53 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c echo "/usr/local/lib/python3.10/dist-packages/torchaudio.libs" >> /etc/ld.so.conf && ldconfig # buildkit
2025-12-26 22:06:54 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c echo "export PYTORCH_MIOPEN_SUGGEST_NDHWC=1" >> /etc/bash.bashrc && echo "export HIP_USE_GRAPH_QUEUE_POOL=1" >> /etc/bash.bashrc && echo "export NCCL_NCHANNELS_PER_PEER=2" >> /etc/bash.bashrc # buildkit
2025-12-26 22:06:54 +0800 (buildkit.dockerfile.v0)RUN |1 SOURCES=-i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple --trusted-host mirrors.tuna.tsinghua.edu.cn --default-timeout=100 --use-deprecated=legacy-resolver /bin/sh -c ln -s /usr/lib/x86_64-linux-gnu/librt.so.1 /usr/lib/x86_64-linux-gnu/librt.so # buildkit
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)SHELL [/bin/bash -eo pipefail -c]
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)ARG TARGETPLATFORM=linux/amd64
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)ARG TARGETOS=linux
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)ENV DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # Tools # Refresh apt-get update -y && apt-get install -y --no-install-recommends \ software-properties-common apt-transport-https \ ca-certificates gnupg2 lsb-release gnupg-agent \ && apt-get update -y \ && add-apt-repository -y ppa:ubuntu-toolchain-r/test \ && apt-get update -y # Install apt-get install -y --no-install-recommends \ ca-certificates build-essential binutils bash openssl \ curl wget aria2 \ git git-lfs \ unzip xz-utils \ tzdata locales \ iproute2 iputils-ping ifstat net-tools dnsutils pciutils ipmitool \ rdma-core rdmacm-utils infiniband-diags \ procps sysstat htop \ tini vim jq bc tree # Update locale localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 # Update timezone rm -f /etc/localtime \ && ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && echo "Asia/Shanghai" > /etc/timezone \ && dpkg-reconfigure --frontend noninteractive tzdata # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit
2026-01-07 12:02:46 UTC (buildkit.dockerfile.v0)RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # GCC # Upgrade GCC if the Ubuntu version is lower than 21.04. source /etc/os-release if (( $(echo "${VERSION_ID} > 21.04" | bc -l) )); then echo "Skipping GCC upgrade for ${VERSION_ID}..." exit 0 fi # Install apt-get install -y --no-install-recommends \ gcc-11 g++-11 gfortran-11 gfortran # Update alternatives if [[ -f /etc/alternatives/gcov-dump ]]; then update-alternatives --remove-all gcov-dump; fi; update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-11 10 if [[ -f /etc/alternatives/lto-dump ]]; then update-alternatives --remove-all lto-dump; fi; update-alternatives --install /usr/bin/lto-dump lto-dump /usr/bin/lto-dump-11 10 if [[ -f /etc/alternatives/gcov ]]; then update-alternatives --remove-all gcov; fi; update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-11 10 if [[ -f /etc/alternatives/gcc ]]; then update-alternatives --remove-all gcc; fi; update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10 if [[ -f /etc/alternatives/gcc-nm ]]; then update-alternatives --remove-all gcc-nm; fi; update-alternatives --install /usr/bin/gcc-nm gcc-nm /usr/bin/gcc-nm-11 10 if [[ -f /etc/alternatives/cpp ]]; then update-alternatives --remove-all cpp; fi; update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-11 10 if [[ -f /etc/alternatives/g++ ]]; then update-alternatives --remove-all g++; fi; update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10 if [[ -f /etc/alternatives/gcc-ar ]]; then update-alternatives --remove-all gcc-ar; fi; update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-11 10 if [[ -f /etc/alternatives/gcov-tool ]]; then update-alternatives --remove-all gcov-tool; fi; update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-11 10 if [[ -f /etc/alternatives/gcc-ranlib ]]; then update-alternatives --remove-all gcc-ranlib; fi; update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-11 10 if [[ -f /etc/alternatives/gfortran ]]; then update-alternatives --remove-all gfortran; fi; update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-11 10 # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit
2026-01-07 12:05:33 UTC (buildkit.dockerfile.v0)RUN |3 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 /bin/bash -eo pipefail -c # C buildkit # Install apt-get install -y --no-install-recommends \ make ninja-build pkg-config ccache curl --retry 3 --retry-connrefused -fL "https://github.com/Kitware/CMake/releases/download/v3.31.7/cmake-3.31.7-linux-$(uname -m).tar.gz" | tar -zx -C /usr --strip-components 1 # Install dependencies apt-get install -y --no-install-recommends \ perl-openssl-defaults perl yasm \ zlib1g zlib1g-dev libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev \ openssl libssl-dev libsqlite3-dev lcov libomp-dev \ libblas-dev liblapack-dev libopenblas-dev libblas3 liblapack3 libhdf5-dev \ libxml2 libxslt1-dev libgl1-mesa-glx libgmpxx4ldbl \ libncurses5-dev libreadline6-dev libsqlite3-dev \ liblzma-dev lzma lzma-dev tk-dev uuid-dev libmpdec-dev \ ffmpeg libjpeg-dev libpng-dev libtiff-dev libwebp-dev \ libnuma1 libnuma-dev libjemalloc-dev \ libgrpc-dev libgrpc++-dev libprotobuf-dev protobuf-compiler protobuf-compiler-grpc \ libnl-route-3-200 libnl-3-200 libnl-3-dev libnl-route-3-dev \ libibverbs1 libibverbs-dev \ librdmacm1 librdmacm-dev \ libibumad3 libibumad-dev \ libtool \ ibverbs-utils ibverbs-providers libibverbs-dev \ openmpi-bin openmpi-common libopenmpi-dev # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit
2026-01-07 12:05:33 UTC (buildkit.dockerfile.v0)ARG PYTHON_VERSION=3.10
2026-01-07 12:05:33 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.10
2026-01-07 12:05:33 UTC (buildkit.dockerfile.v0)RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 PYTHON_VERSION=3.10 /bin/bash -eo pipefail -c # Python if (( $(echo "$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) == ${PYTHON_VERSION}" | bc -l) )); then echo "Skipping Python upgrade for ${PYTHON_VERSION}..." if [[ -z "$(ldconfig -v 2>/dev/null | grep libpython${PYTHON_VERSION})" ]]; then PYTHON_LIB_PREFIX=$(python3 -c "import sys; print(sys.base_prefix);") echo "${PYTHON_LIB_PREFIX}/lib" >> /etc/ld.so.conf.d/python3.conf echo "${PYTHON_LIB_PREFIX}/lib64" >> /etc/ld.so.conf.d/python3.conf ldconfig -v fi exit 0 fi # Add deadsnakes PPA for Python versions for i in 1 2 3; do add-apt-repository -y ppa:deadsnakes/ppa && break || { echo "Attempt $i failed, retrying in 5s..."; sleep 5; } done apt-get update -y # Install apt-get install -y --no-install-recommends \ python${PYTHON_VERSION} \ python${PYTHON_VERSION}-dev \ python${PYTHON_VERSION}-venv \ python${PYTHON_VERSION}-lib2to3 \ python${PYTHON_VERSION}-gdbm \ python${PYTHON_VERSION}-tk if (( $(echo "${PYTHON_VERSION} <= 3.11" | bc -l) )); then apt-get install -y --no-install-recommends \ python${PYTHON_VERSION}-distutils fi # Update alternatives if [[ -f /etc/alternatives/python3 ]]; then update-alternatives --remove-all python3; fi; update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 if [[ -f /etc/alternatives/python ]]; then update-alternatives --remove-all python; fi; update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 curl -sS "https://bootstrap.pypa.io/get-pip.py" | python${PYTHON_VERSION} if [[ -f /etc/alternatives/2to3 ]]; then update-alternatives --remove-all 2to3; fi; update-alternatives --install /usr/bin/2to3 2to3 /usr/bin/2to3${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/pydoc3 ]]; then update-alternatives --remove-all pydoc3; fi; update-alternatives --install /usr/bin/pydoc3 pydoc3 /usr/bin/pydoc${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/idle3 ]]; then update-alternatives --remove-all idle3; fi; update-alternatives --install /usr/bin/idle3 idle3 /usr/bin/idle${PYTHON_VERSION} 1 || true if [[ -f /etc/alternatives/python3-config ]]; then update-alternatives --remove-all python3-config; fi; update-alternatives --install /usr/bin/python3-config python3-config /usr/bin/python${PYTHON_VERSION}-config 1 || true # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* \ && rm -rf /var/cache/apt # buildkit
2026-01-07 12:05:33 UTC (buildkit.dockerfile.v0)ENV PIP_NO_CACHE_DIR=1 PIP_DISABLE_PIP_VERSION_CHECK=1 PIP_ROOT_USER_ACTION=ignore PIPX_HOME=/root/.local/share/pipx PIPX_LOCAL_VENVS=/root/.local/share/pipx/venvs UV_NO_CACHE=1 UV_HTTP_TIMEOUT=500 UV_INDEX_STRATEGY=unsafe-best-match
2026-01-08 00:57:06 UTC (buildkit.dockerfile.v0)RUN |4 TARGETPLATFORM=linux/amd64 TARGETOS=linux TARGETARCH=amd64 PYTHON_VERSION=3.10 /bin/bash -eo pipefail -c # Buildkit cat <<EOT >/tmp/requirements.txt build cmake<4 ninja<1.11 setuptools>=77.0.3,<80.0.0 setuptools-scm packaging<25 wheel==0.45.1 pybind11<3 Cython psutil pipx<=1.8.0 uv<=0.9.11 EOT pip install -r /tmp/requirements.txt # Cleanup rm -rf /var/tmp/* \ && rm -rf /tmp/* # buildkit
2026-01-08 00:57:06 UTC (buildkit.dockerfile.v0)ARG DTK_VERSION=25.04.2
2026-01-08 00:57:06 UTC (buildkit.dockerfile.v0)ARG DTK_ARCHS
2026-01-08 00:57:06 UTC (buildkit.dockerfile.v0)ENV DTK_HOME=/opt/dtk DTK_VERSION=25.04.2 DTK_ARCHS=
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.