2025-06-03 04:13:47 UTC
264 MB
compute,graphics,video,utility
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:215ed5a638430309375291c48a01872859a8dbf1331e54ba0af221918eb8ce2e - 10.66% (28.2 MB)
[#001] sha256:54719c67d7a66738fc20e9832218ace497f002c5ad493ef62b7192603bdd7e9a - 89.34% (236 MB)
[#002] sha256:c449f7038cff7aade36d1e95db55946f0c0604533ff31d36ebfe6ddc601bc69c - 0.0% (4.39 KB)
/bin/sh -c #(nop) ARG RELEASE
2025-04-28 09:44:40 UTC/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
2025-04-28 09:44:40 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
2025-04-28 09:44:40 UTC/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
2025-04-28 09:44:42 UTC/bin/sh -c #(nop) ADD file:59e67123ba6a5d9eea9813e7b2a767696f767c15c5b23c61c4d5bd6ba6fa9ac6 in /
2025-04-28 09:44:42 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)ARG OVERLAY_VERSION=v2.2.0.3
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)ARG RELEASE_TYPE=stable
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)ENV DOCKER_TLS_CERTDIR= NVIDIA_DRIVER_CAPABILITIES=compute,graphics,video,utility
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)RUN |2 OVERLAY_VERSION=v2.2.0.3 RELEASE_TYPE=stable /bin/sh -c echo "**** install packages ****" && apt-get update && apt-get install -y curl gnupg && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && ARCH=$(uname -m | sed 's/x86_64/amd64/g' |sed 's/aarch64/arm64/g') && echo "deb [arch=${ARCH}] https://download.docker.com/linux/ubuntu jammy stable" > /etc/apt/sources.list.d/docker.list && curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/ubuntu22.04/libnvidia-container.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y --no-install-recommends bash btrfs-progs containerd.io docker-ce docker-ce-cli e2fsprogs fuse-overlayfs g++ gcc iproute2 iptables jq lsof make nodejs nvidia-container-toolkit nvidia-docker2 openssl pigz python3 sudo uidmap xfsprogs && echo "**** compose install ****" && mkdir -p /usr/local/lib/docker/cli-plugins && curl -L https://github.com/docker/compose/releases/download/v2.29.6/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/lib/docker/cli-plugins/docker-compose && chmod +x /usr/local/lib/docker/cli-plugins/docker-compose && echo "**** dind setup ****" && useradd -U dockremap && usermod -G dockremap dockremap && echo 'dockremap:165536:65536' >> /etc/subuid && echo 'dockremap:165536:65536' >> /etc/subgid && curl -o /usr/local/bin/dind -L https://raw.githubusercontent.com/moby/moby/master/hack/dind && chmod +x /usr/local/bin/dind && echo 'hosts: files dns' > /etc/nsswitch.conf && echo "**** setup init ****" && curl -o /tmp/s6-overlay-installer -L https://github.com/just-containers/s6-overlay/releases/download/${OVERLAY_VERSION}/s6-overlay-$(uname -m | sed 's/x86_64/amd64/g')-installer && chmod +x /tmp/s6-overlay-installer && /tmp/s6-overlay-installer / && echo "**** setup wizard ****" && mkdir -p /wizard && if [ "${RELEASE_TYPE}" = "develop" ]; then KASM_VERSION=$(curl -sX GET https://kasm-ci.s3.amazonaws.com/dev-version.txt); fi; if [ "${RELEASE_TYPE}" = "stable" ]; then KASM_VERSION=$(curl -sX GET 'https://api.github.com/repos/kasmtech/kasm-install-wizard/releases/latest' | jq -r '.name'); fi; echo "${KASM_VERSION}" > /version.txt && curl -o /tmp/wizard.tar.gz -L "https://github.com/kasmtech/kasm-install-wizard/archive/refs/tags/${KASM_VERSION}.tar.gz" && tar xf /tmp/wizard.tar.gz -C /wizard --strip-components=1 && cd /wizard && npm install && echo "**** add installer ****" && curl -o /tmp/kasm.tar.gz -L "https://github.com/kasmtech/kasm-install-wizard/releases/download/${KASM_VERSION}/kasm_release.tar.gz" && tar xf /tmp/kasm.tar.gz -C / && ALVERSION=$(cat /kasm_release/conf/database/seed_data/default_properties.yaml |awk '/alembic_version/ {print $2}') && curl -o /tmp/images.tar.gz -L "https://kasm-ci.s3.amazonaws.com/1.17.0-images-combined.tar.gz" && tar xf /tmp/images.tar.gz -C / && sed -i '/alembic_version/s/.*/alembic_version: '${ALVERSION}'/' /kasm_release/conf/database/seed_data/default_images_a* && sed -i 's/-N -e -H/-N -B -e -H/g' /kasm_release/upgrade.sh && echo "exit 0" > /kasm_release/install_dependencies.sh && echo "**** copy assets ****" && cp /kasm_release/www/img/thumbnails/*.png /kasm_release/www/img/thumbnails/*.svg /wizard/public/img/thumbnails/ && cp /kasm_release/conf/database/seed_data/default_images_a* /wizard/ && echo "**** cleanup ****" && apt-get remove -y g++ gcc make && apt-get -y autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)COPY root/ / # buildkit
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)EXPOSE map[3000/tcp:{} 443/tcp:{}]
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)VOLUME [/opt/]
2025-06-03 04:13:47 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/init"]
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.