Files
w3cjandClaude Opus 5.5 82f075c5bd build(deps): bump pins
scripts/bump.sh's safe bumps, patches and minors:

- images: mise 2026.11.10 -> 2026.11.14 (base and the host's, with
  internal/tools/mise.go's checksums), nix 2.35.6 -> 2.36.0, Docker's
  buildx 0.39.0 -> 0.39.1 and model 1.2.9 -> 1.2.10
- e2e: the lock's pnpm 12.21.0 -> 12.23.0, bun 1.4.4 -> 1.4.5, codex
  0.169.1 -> 0.171.0, opencode 2.3.2 -> 2.4.1, pi 1.5.2 -> 1.6.0;
  --from's node:24 by its new digest
- dev-tools: nilaway to its newest commit's pseudo-version
  (0.0.0-20261124161746-91ad9bf5d8e6), goreleaser 2.20.3, vale 3.28.1,
  markdownlint-cli2 0.24.2, whose lock folder moves to
  .mise/locks/markdownlint-cli2/0.24.2/, zizmor 1.33.1, with mise.lock
- ci: the workflows' mise 2026.11.14, jdx/mise-action v5.3.0,
  amannn/action-semantic-pull-request v6.1.4

The e2e lock keeps Claude Code at 2.1.327: 2.1.328 made its sign-in link
much shorter, without the state parameter that the network section's
login check reads to answer it, so with 2.1.330 that check and the
refresh after it fail. devvm itself never reads the link.

mise's and Nix's new checksums match upstream's SHASUMS256.txt and
.sha256 files; buildx and model are apt packages from Docker's signed
repository. Cursor's CLI stays on 2026.11.17-f532c45: 2026.11.22-e9042b2
is out, and it moves only when named. pflag stays held below 1.1.0 and
Node on 24.

The new nilaway no longer reports three of agentsave.go's bounds
findings, so their lines leave testdata/nilaway-baseline.txt, which
nilaway and nilaway:linux fail on while they're stale.

The CHANGELOG's Unreleased has the pins line, and the 0.2.0 page a
section for them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 14:35:10 -07:00

62 lines
3.0 KiB
Bash

#!/bin/bash
# docker: a built-in layer (devvm --layers docker). Docker's engine, CLI, BuildKit and Compose, the VM's
# user in the docker group, the daemon started at each boot.
set -euxo pipefail
: "${devvm_libc:?}" # devvm's prelude (prelude.sh) comes before this script
# Pinned downloads (scripts/bump.sh updates them). Docker's repository has no snapshots: its packages
# are pinned by version.
docker_version=29.10.0
containerd_version=2.4.2
buildx_version=0.39.1
compose_version=5.8.0
model_version=1.2.10
docker_gpg_sha256=1500c1f56fa9e26b9b8f42452a553675796ade0807cdce11975eb98170b3a570
# Alpine (--from alpine): Docker is Alpine's own package, from the release's repositories, which have
# no snapshots: not pinned.
if [[ $devvm_libc == musl ]]; then
sudo apk add --no-cache docker docker-cli-buildx docker-cli-compose
echo "devvm: Alpine's Docker packages aren't pinned" >&2
sudo rc-update add docker default
sudo addgroup "$USER" docker
else
export DEBIAN_FRONTEND=noninteractive
# Docker from its signed apt repository (the key's checksum pinned), each package at the repository's
# build of the pinned version for this distribution.
# shellcheck source=/dev/null
. /etc/os-release
case " $ID ${ID_LIKE:-} " in
*" ubuntu "*) dist=ubuntu codename=${UBUNTU_CODENAME:-$VERSION_CODENAME} ;;
*) dist=debian codename=$VERSION_CODENAME ;;
esac
devvm-fetch "https://download.docker.com/linux/$dist/gpg" "$docker_gpg_sha256" /tmp/docker.asc
sudo install -D -m 644 /tmp/docker.asc /etc/apt/keyrings/docker.asc
rm /tmp/docker.asc
printf 'Types: deb\nURIs: https://download.docker.com/linux/%s\nSuites: %s\nComponents: stable\nSigned-By: /etc/apt/keyrings/docker.asc\n' \
"$dist" "$codename" | sudo tee /etc/apt/sources.list.d/docker.sources >/dev/null
# The package servers answer 5xx now and then: try again twice, after 15 and 30 s.
for i in 1 2 3; do
sudo apt-get update --error-on=any && break
(( i < 3 )) || { echo "devvm: couldn't update the package lists (above)" >&2; exit 1; }
sleep $((i * 15))
done
pkgver() { # pkgver PACKAGE VERSION: the repository's full version for it (epoch and build suffix)
local v
v=$(apt-cache madison "$1" | awk -v want="$2" '{ v = $3; sub(/^[0-9]+:/, "", v) } index(v, want "-") == 1 { print $3; exit }')
[[ -n $v ]] || { echo "devvm: Docker's repository has no $1 $2 for $dist $codename" >&2; exit 1; }
echo "$1=$v"
}
sudo apt-get install -y \
"$(pkgver docker-ce "$docker_version")" "$(pkgver docker-ce-cli "$docker_version")" \
"$(pkgver docker-ce-rootless-extras "$docker_version")" "$(pkgver containerd.io "$containerd_version")" \
"$(pkgver docker-buildx-plugin "$buildx_version")" "$(pkgver docker-compose-plugin "$compose_version")" \
"$(pkgver docker-model-plugin "$model_version")"
sudo usermod -aG docker "$USER"
fi
# Running now too, for the rest of the build: systemd started it with the package, and OpenRC
# starts it here.
if [[ -d /run/openrc ]]; then
sudo rc-service docker start
fi