Skip to content

build(docker): use supported Alpine 3.24 bases - #1591

Merged
lklimek merged 2 commits into
v1.8-devfrom
chore/docker-base-images
Nov 4, 2026
Merged

lklimek merged 2 commits into
v1.8-devfrom
chore/docker-base-images

Conversation

@lklimek

@lklimek lklimek commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

TL;DR: Use supported Alpine images for the Tenderdash containers and replace the obsolete local-node image.

User story

As a Tenderdash operator, I want the container images to use maintained operating-system packages, so that I can build and run them without relying on obsolete distributions.

Scenario

Base flow

Build and run the production, end-to-end-test or local-node container.

Actual behavior

Production and test builds use Alpine 3.23, while the local-node image still uses Alpine 3.7. Some required packages come from Alpine's community repository, whose 3.23 support has ended.

Expected behavior

All three use Alpine 3.24, build successfully and run the existing binaries and tools.

Detailed discussion

What was done

  • Update production and e2e Alpine defaults from 3.23 to 3.24.
  • Update the local-node base from 3.7 to 3.24.
  • Preserve Go 1.27.3, existing build arguments and image-tag conventions. No additional runtime packages were required.
  • This PR is stacked on ci: build and test on Ubuntu 26.04 #1590, targeting ci/ubuntu-runner-compatibility, because the image builds need its CMake 4 compatibility fix. Merge ci: build and test on Ubuntu 26.04 #1590 first; then retarget this PR to v1.8-dev.

There are no Ubuntu Docker bases to update. The Debian-based Go test image already follows the current Go version. The legacy Ivy proof container remains on unsupported Debian buster: its pinned Ivy revision requires Python 2.7 and Python-2-only packages, so a base-tag update alone would break it. Modernizing that proof tool is a remaining gap, outside these three Alpine updates.

Testing

Linux amd64:

  • All three images built; Docker BuildKit checks passed without warnings.
  • Production image's native BLS build and Tenderdash/abcidump compilation passed.
  • Production runtime checks passed for UID/GID 100/1000, static binary startup, RPC readiness, a single-validator chain producing blocks, and shutdown.
  • Local-node wrapper ran the production binary without missing libraries.
  • E2E image's musl/GMP/libstdc++/libgcc dependencies resolved; configured app startup and Delve checks passed.
  • Upstream package availability checked for amd64/arm64; no ARM64 build or full multi-node e2e suite was run locally.

The existing Docker recipe uses BLS fallback tag 1.3.6 when building the copied third_party directory without Git metadata. Container checks validate that unchanged recipe; #1590 separately validates the repository's pinned BLS revision on Ubuntu 26.04.

Breaking changes

No intentional application or configuration change. Base distributions and their package versions advance to Alpine 3.24.

Prior work

Attribution

🤖 Co-authored by Claudius the Magnificent AI Agent

PR Hygiene · 9c45418

  • Bots — thepastaclaw ✓
  • Self-review — posted; again after any push
  • Build green
  • Approvals — you own every area touched; none needed

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

lklimek and others added 2 commits November 4, 2026 15:48
Select explicit Ubuntu 26.04 runners for builds and tests, and use slim
runners only for bounded metadata and Pages deployment jobs. Exercise
native build and workflow changes through the affected CI gates.

Set the minimum CMake policy for bundled BLS dependencies, and isolate
native caches by runner image and build inputs.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Codex GPT-6 <[email protected]>
Update production and E2E build images together and retire the unsupported Alpine 3.7 localnode base. Preserve Go 1.27.3 and existing image tag conventions.

<sub>🤖 Co-authored by [Claudius the Magnificent](https://github.com/lklimek/claudius) AI Agent</sub>

Co-Authored-By: Codex <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

lklimek commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator Author

/self-reviewed

Reviewed 9c45418 against #1590: exactly three Alpine version changes. Production, E2E and local-node images build; BuildKit checks and amd64 runtime smokes pass, including a production single-validator chain, RPC readiness, shutdown, local-node wrapper and E2E tool/library startup. No ARM64 build or full multi-node e2e suite was run locally. The legacy Debian buster/Python 2 proof container remains a disclosed modernization gap.

🤖 Co-authored by Claudius the Magnificent AI Agent

@lklimek lklimek mentioned this pull request Nov 4, 2026
4 tasks done

@lklimek lklimek left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/self-reviewed

@lklimek
lklimek marked this pull request as ready for review November 4, 2026 16:00
@thepastaclaw

thepastaclaw commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Final review complete — no blockers (commit 9c45418) · triage: normal

Base automatically changed from ci/ubuntu-runner-compatibility to v1.8-dev November 4, 2026 16:51
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Nov 4, 2026

@lklimek lklimek left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/self-reviewed

@lklimek
lklimek enabled auto-merge (squash) November 4, 2026 17:11

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

No actionable defects were found at head 9c45418: the novel diff updates all three Alpine-based recipes to 3.24, and the stacked Ubuntu/CMake changes are identical to already-merged #1590 with no reported merge conflicts. Current CI checks are green, including confirmed execution of both e2e image builds and test networks; PR Hygiene remains pending. Verification was static-only, and ARM64 build/runtime compatibility is not established by the supplied evidence.

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.1-sol (effort low) — The full diff spans container bases, CI runner migrations, cache behavior, and native-build compatibility, making it an ordinary cross-cutting build change without modifying critical application logic.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort high); agent phase2-reviewer

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

Policy satisfied — this can merge.
Full checklist in the description.

@github-actions github-actions Bot removed the waiting-bots Waiting for the review bots to report on this head label Nov 4, 2026
@lklimek
lklimek merged commit 932168f into v1.8-dev Nov 4, 2026
25 checks passed
@lklimek
lklimek deleted the chore/docker-base-images branch November 4, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants