Find multi-arch base image with bb package - #128
Closed
chrisns wants to merge 2 commits into
Closed
Conversation
chrisns
commented
Nov 4, 2025
Owner
- Switch from Debian (pinned SHA) to Alpine 3.19 for more reliable multi-arch builds
- Alpine provides better support across all target architectures (amd64, arm/v6, arm/v7, arm64, ppc64le, s390x)
- Significantly reduces base image size (~5MB vs ~120MB)
- Replace apt-get with apk package manager
- Add musl-dev package required for C compilation on Alpine
- Switch from Debian (pinned SHA) to Alpine 3.19 for more reliable multi-arch builds - Alpine provides better support across all target architectures (amd64, arm/v6, arm/v7, arm64, ppc64le, s390x) - Significantly reduces base image size (~5MB vs ~120MB) - Replace apt-get with apk package manager - Add musl-dev package required for C compilation on Alpine
- Add ncurses-dev for terminal/console output support - Add libx11-dev and libxext-dev for X11 window system support - Add slang-dev for S-Lang terminal library support - Add autoconf, automake, and libtool for build system configuration These dependencies are required for aalib's ./configure script to run successfully on Alpine Linux.
| FROM debian@sha256:bd73076dc2cd9c88f48b5b358328f24f2a4289811bd73787c031e20db9f97123 as build | ||
| RUN apt-get update | ||
| RUN apt-get install -y wget make gcc curl | ||
| FROM alpine:3.19 as build |
Check notice
Code scanning / Security Audit for Infrastructure
Ensure that HEALTHCHECK instructions have been added to container images. Note
| FROM debian@sha256:bd73076dc2cd9c88f48b5b358328f24f2a4289811bd73787c031e20db9f97123 as build | ||
| RUN apt-get update | ||
| RUN apt-get install -y wget make gcc curl | ||
| FROM alpine:3.19 as build |
Check notice
Code scanning / Security Audit for Infrastructure
Ensure that a user for the container has been created. Note
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.