Skip to content

Find multi-arch base image with bb package - #128

Closed
chrisns wants to merge 2 commits into
masterfrom
claude/fix-multiarch-base-image-011CUoLyZjtt4P28QS9c1JCD
Closed

Find multi-arch base image with bb package#128
chrisns wants to merge 2 commits into
masterfrom
claude/fix-multiarch-base-image-011CUoLyZjtt4P28QS9c1JCD

Conversation

@chrisns

@chrisns chrisns commented Nov 4, 2025

Copy link
Copy Markdown
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
Comment thread Dockerfile Fixed
Comment thread Dockerfile Fixed
- 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.
Comment thread Dockerfile
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

Ensure that HEALTHCHECK instructions have been added to container images.
Comment thread Dockerfile
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

Ensure that a user for the container has been created.
@chrisns chrisns closed this Aug 3, 2026
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.

3 participants