From 9968ace297a58041e629ef4320e1247046801a8a Mon Sep 17 00:00:00 2001 From: Derek Hsu Date: Wed, 25 Nov 2026 12:54:52 +0800 Subject: [PATCH] chore(images): build the tools images on the deb13u5 base images The new base images carry libc6 2.41-12+deb13u5, so the perl-modules stage installs libc6-dev from apt again and no longer downloads the deb13u4 packages from snapshot.debian.org (#85). - Dockerfile.tools: openshell-openclaw 2026.9.2-r5 - agents/hermes-01x/Dockerfile.tools: openshell-hermes openshell01x-hermes-0.21.3-2026.11.25 - base-image-openshell01x.txt: openshell-openclaw 2026.9.2-openshell01x-r3 Co-Authored-By: Claude Opus 5.5 Signed-off-by: Derek Hsu --- Dockerfile.tools | 23 ++++--------------- agents/hermes-01x/Dockerfile.tools | 23 ++++--------------- .../2026-10-31-openclaw-tools-image.md | 9 ++++---- .../2026-11-17-hermes-tools-image.md | 4 ++-- .../base-image-openshell01x.txt | 6 ++--- 5 files changed, 19 insertions(+), 46 deletions(-) diff --git a/Dockerfile.tools b/Dockerfile.tools index 8aa3b063eff..76496941ddc 100644 --- a/Dockerfile.tools +++ b/Dockerfile.tools @@ -9,7 +9,7 @@ # the base image's user, entrypoint, command, working directory, environment, # healthcheck, and controlled package versions. It ships no compiler. -ARG BASE_IMAGE=docker.io/derekhsu/openshell-openclaw@sha256:e654a0695522944ec43c7eeabb6aca9472f385c117a206e5000f8a61b1b96056 +ARG BASE_IMAGE=docker.io/derekhsu/openshell-openclaw@sha256:e09ef7b05b3663affab649b0403c09d01ad1cf9858ffc3ede01399ec89b5e9df # Downloaded single-file tools, verified by checksum. The final stage # installs the file for its own architecture through a bind mount, so the @@ -35,18 +35,6 @@ ADD --checksum=sha256:5c5ba2724c162f82d0a0c71b6c03224ed44f8bef7b14ace5da0635d3af ADD --checksum=sha256:1dc21c3dd6d948929e22e5cae49b9d0b3b30ff88fafd4493fd4460c6252e9d90 \ https://github.com/pimalaya/himalaya/releases/download/v2.2.1/himalaya.aarch64-linux.tgz /himalaya-arm64.tgz -# libc6-dev must match the base image's libc6 exactly. Debian has replaced -# 2.41-12+deb13u4 in the archive, so fetch it from the snapshot archive for the -# perl-modules stage. Update these with the base image's libc6 version. -ADD --checksum=sha256:1fda734dabcd80b77266a09ab62b0f1e3e16d8091db62899890b2200745632a2 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc6-dev_2.41-12%2Bdeb13u4_amd64.deb /libc6-dev-amd64.deb -ADD --checksum=sha256:71e373cb5e9da975b02fb4af555929cb1977560e2dd8245de4eb8a7b03677a08 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc6-dev_2.41-12%2Bdeb13u4_arm64.deb /libc6-dev-arm64.deb -ADD --checksum=sha256:2c21175d6a8283ed566d154c0c0bc06f60836e53b0b9e1f74c14eac586b68c24 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc-dev-bin_2.41-12%2Bdeb13u4_amd64.deb /libc-dev-bin-amd64.deb -ADD --checksum=sha256:cd4b3bdf404a01792003f4ca400bc602252ab24e0a8c53e45d474d1818dc02e3 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc-dev-bin_2.41-12%2Bdeb13u4_arm64.deb /libc-dev-bin-arm64.deb - # The yq 4.54.1 release binaries use Go 1.27.1 and golang.org/x/net 0.59.0, # which have HIGH vulnerabilities with available fixes. Build the same yq version with a # patched Go toolchain and x/net. Go verifies module hashes with sumdb. @@ -68,16 +56,15 @@ FROM ${BASE_IMAGE} AS perl-modules USER root ADD --checksum=sha256:abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8 \ https://cpan.metacpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-0.04.tar.gz /tmp/Text-CharWidth-0.04.tar.gz +# libc6-dev must match the base image's libc6, which is held; apt fails +# if Debian moves past it. # hadolint ignore=DL3003,DL3008 -RUN --mount=type=bind,from=downloads,target=/downloads \ - set -eu; \ +RUN set -eu; \ while IFS='=' read -r pkg _; do \ [ "$pkg" = architecture ] || apt-mark hold "$pkg" >/dev/null; \ done -tools.. -ARG BASE_IMAGE=docker.io/derekhsu/openshell-hermes:openshell01x-hermes-0.21.3-2026.11.13@sha256:1b0f2030fec36118c9124c0f28a5e435f61bfb4f502f39e942e365873e8c8265 +ARG BASE_IMAGE=docker.io/derekhsu/openshell-hermes:openshell01x-hermes-0.21.3-2026.11.25@sha256:89aad1dc08c0c8d7fafc49089f7351b44ed4dec6b5027df6b8d8b193af04a577 # Downloaded single-file tools, verified by checksum. The final stage # installs the file for its own architecture through a bind mount, so the @@ -50,18 +50,6 @@ ADD --checksum=sha256:5c5ba2724c162f82d0a0c71b6c03224ed44f8bef7b14ace5da0635d3af ADD --checksum=sha256:1dc21c3dd6d948929e22e5cae49b9d0b3b30ff88fafd4493fd4460c6252e9d90 \ https://github.com/pimalaya/himalaya/releases/download/v2.2.1/himalaya.aarch64-linux.tgz /himalaya-arm64.tgz -# libc6-dev must match the base image's libc6 exactly. Debian has replaced -# 2.41-12+deb13u4 in the archive, so fetch it from the snapshot archive for the -# perl-modules stage. Update these with the base image's libc6 version. -ADD --checksum=sha256:1fda734dabcd80b77266a09ab62b0f1e3e16d8091db62899890b2200745632a2 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc6-dev_2.41-12%2Bdeb13u4_amd64.deb /libc6-dev-amd64.deb -ADD --checksum=sha256:71e373cb5e9da975b02fb4af555929cb1977560e2dd8245de4eb8a7b03677a08 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc6-dev_2.41-12%2Bdeb13u4_arm64.deb /libc6-dev-arm64.deb -ADD --checksum=sha256:2c21175d6a8283ed566d154c0c0bc06f60836e53b0b9e1f74c14eac586b68c24 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc-dev-bin_2.41-12%2Bdeb13u4_amd64.deb /libc-dev-bin-amd64.deb -ADD --checksum=sha256:cd4b3bdf404a01792003f4ca400bc602252ab24e0a8c53e45d474d1818dc02e3 \ - https://snapshot.debian.org/archive/debian/20260711T202405Z/pool/main/g/glibc/libc-dev-bin_2.41-12%2Bdeb13u4_arm64.deb /libc-dev-bin-arm64.deb - # The yq 4.54.1 release binaries use Go 1.27.1 and golang.org/x/net 0.59.0, # which have HIGH vulnerabilities with available fixes. Build the same yq version with a # patched Go toolchain and x/net. Go verifies module hashes with sumdb. @@ -83,16 +71,15 @@ FROM ${BASE_IMAGE} AS perl-modules USER root ADD --checksum=sha256:abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8 \ https://cpan.metacpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-0.04.tar.gz /tmp/Text-CharWidth-0.04.tar.gz +# libc6-dev must match the base image's libc6, which is held; apt fails +# if Debian moves past it. # hadolint ignore=DL3003,DL3008 -RUN --mount=type=bind,from=downloads,target=/downloads \ - set -eu; \ +RUN set -eu; \ while IFS='=' read -r pkg _; do \ [ "$pkg" = architecture ] || apt-mark hold "$pkg" >/dev/null; \ done -openshell01x-tools.). -# Index digest of docker.io/derekhsu/openshell-openclaw:2026.9.2-openshell01x-r2, -# published by openclaw-sandbox-image run 42639684706 from b2809aa666 (#68 merge). -docker.io/derekhsu/openshell-openclaw@sha256:c2328368e2f3023552d12ad312fb1eb81200787faaf54a8233c55eacb17c7c90 +# Index digest of docker.io/derekhsu/openshell-openclaw:2026.9.2-openshell01x-r3, +# published by openclaw-sandbox-image run 45540584883 from 42a4c47a40 (#84 merge). +docker.io/derekhsu/openshell-openclaw@sha256:884879dbc0fa014fa821af6d9d206fff95b87ba661ae6dd6454b06e53d012390