Files
OrionOS/iso/docker/Dockerfile.arm64
T
nmemmertandClaude Sonnet 4.6 8f60d6f8b9 Fix ARM64 Dockerfile: switch to lopsided/archlinux base image
menci/archlinuxarm:aarch64 doesn't exist on Docker Hub.
lopsided/archlinux is a maintained multi-arch image with native arm64 support.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-24 10:46:21 -04:00

40 lines
971 B
Docker

# OrionOS ARM64 ISO builder
# Uses Arch Linux ARM as the base — runs natively on Apple Silicon.
#
# Build: ./build-iso-arm64.sh (wrapper handles docker buildx)
# Output: dist/orionos-arm64-<date>.iso
FROM lopsided/archlinux:latest
# disable pacman seccomp sandbox (breaks under QEMU / nested containers)
RUN echo "DisableSandbox" >> /etc/pacman.conf
# initialize pacman keys for ALARM
RUN pacman-key --init && pacman-key --populate archlinuxarm 2>/dev/null || \
pacman-key --populate archlinux
# install build tools
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
archiso \
base-devel \
libx11 \
libxft \
fontconfig \
freetype2 \
imlib2 \
imagemagick \
fakeroot \
git \
sudo \
&& pacman -Scc --noconfirm
WORKDIR /orionos
COPY . .
RUN make
RUN bash themes/wallpapers/generate-default.sh || true
ENTRYPOINT ["/orionos/iso/docker/entrypoint-arm64.sh"]