Move CI to ubuntu-26.04; build COPY-heredoc README sample unconditionally - #5
Open
Andrei-Errapart wants to merge 1 commit into
Open
Andrei-Errapart wants to merge 1 commit into
Andrei-Errapart wants to merge 1 commit into
Conversation
Andrei-Errapart
force-pushed
the
heredoc-buildah-version
branch
from
June 26, 2026 16:42
7fa9e32 to
afccd30
Compare
…ally The Podman support work treated the `COPY <<EOF` here-document failure as engine-specific and made tests/0029 skip the installer sample under Podman. A dev-box upgrade to Debian 13 (trixie) showed it is only a Buildah-version gap: Buildah ≥ 1.39 (Podman 5.x) builds COPY here-documents fine; the failure is limited to older Buildah (1.28.2, and the 1.33 in Podman 4.9.3 / Ubuntu 24.04). So drop the engine-detection/skip code, build the installer sample unconditionally, and move both CI jobs to ubuntu-26.04 (Podman 5.7 / Buildah 1.42). ubuntu-26.04's host resolver is the systemd-resolved stub (127.0.0.53), which is unreachable from inside a Podman build container's network namespace, so apt-get/apk inside `podman build` fail with "Temporary failure resolving ..." (ubuntu-24.04 / Podman 4.9 did not hit this). The Podman job writes a containers.conf.d drop-in pointing build containers at public resolvers (1.1.1.1 / 8.8.8.8). run-dockerfile never injects --dns; this is a runner-environment quirk, documented in CLAUDE.md. README keeps an engine note telling users on an older Podman/Buildah to COPY the expect script from a sibling file. Verified locally: 0029 builds the heredoc sample under Docker and rootful Podman / Buildah 1.39.3, and the dns_servers drop-in propagates into podman build containers.
Andrei-Errapart
force-pushed
the
heredoc-buildah-version
branch
from
June 26, 2026 17:21
afccd30 to
3733db0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
PR #4 treated the
COPY <<EOFhere-document failure under Podman as an enginelimitation and made
tests/0029skip the installer sample under Podman.Upgrading a dev box to Debian 13 (trixie) disproved that — it's only a
Buildah-version gap:
COPY <<EOFChange
unconditionally (engine-aware cleanup retained).
ubuntu-26.04(Podman 5.7 / Buildah 1.42), so the heredocsample builds under Podman too.
ubuntu-26.04the host resolver isthe systemd-resolved stub (
127.0.0.53), which isn't reachable from inside aPodman build container's netns — so
apt-get/apkin apodman buildfailwith
Temporary failure resolving …(24.04 / Podman 4.9 didn't hit this). Thejob writes a
containers.conf.ddrop-in pointing build containers at publicresolvers (
1.1.1.1/8.8.8.8). run-dockerfile never injects--dns; this isa runner-environment quirk.
sibling-file
COPY); CLAUDE.md documents the Buildah-version gap and the DNSdrop-in.
Verification
0029builds the heredoc sample under Dockerand rootful Podman; the
dns_serversdrop-in propagates intopodman buildcontainers (
/etc/resolv.conf→1.1.1.1).ubuntu-26.04— the authoritative check forthe runner move + DNS fix, including the heredoc sample under Podman 5.7.
Supersedes the probe approach; follow-up to #4.