fba66b6ef5 | ||
---|---|---|
.github/workflows | ||
files | ||
Dockerfile | ||
LICENSE | ||
README.md |
README.md
Arch Linux Docker Image (Multiarch)
This is the Docker image for Arch Linux ARM but for compatibility AMD64 build is also included. All images are built on GitHub Actions automatically.
Just just like the official Arch Linux AMD64 image, it has two tags:
base
(default): installed only the package groupbase
.base-devel
: installed the package groupbase-devel
.
And, the pamcan lsign-key is also removed for security reasons.
Under the Hood
The Dockerfile uses a Alpine Linux container to install pacman
and bootstrap the Arch Linux ARM rootfs. Since pacstrap
uses mount
, it doesn't run in an unprivileged Docker container. I found the tool pacstrap-docker
(LICENSE) as a replacement.
After bootstrapping, the rootfs will be copied to a new container from scratch
(aka. an empty file system), which will be commited as the result image.