Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 24, 2025

Creates a pullable scratch base container image with GitHub Actions workflow for GHCR distribution across all QEMU-supported platforms.

Changes:

  • Dockerfile: Single-stage FROM scratch image
  • GitHub Workflow: Multi-platform build using docker/buildx targeting 10 architectures:
    • x86: linux/amd64, linux/386
    • ARM: linux/arm64, linux/arm/v7, linux/arm/v6
    • RISC-V: linux/riscv64
    • Power: linux/ppc64le
    • IBM Z: linux/s390x
    • MIPS: linux/mips64le, linux/mips64

Workflow triggers on main/master pushes, PRs (build-only), and manual dispatch. Images tagged with branch name, SHA, and latest for default branch.

Original prompt

Create a repository with a Dockerfile that has only one stage and one command

FROM scratch

Also have a github workflow that builds and pushes that to GHCR for every possible platform that QEMU can do


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 24, 2025
Copilot AI and others added 2 commits November 24, 2025 12:36
Co-authored-by: cnuss <819991+cnuss@users.noreply.github.com>
Co-authored-by: cnuss <819991+cnuss@users.noreply.github.com>
Copilot AI changed the title [WIP] Add single stage Dockerfile and GitHub workflow Add minimal scratch image with multi-platform QEMU build support Nov 24, 2025
Copilot AI requested a review from cnuss November 24, 2025 12:41
@cnuss cnuss marked this pull request as ready for review November 24, 2025 13:09
@cnuss cnuss merged commit 4d8e686 into main Nov 24, 2025
1 check passed
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