Dockerfiles for builder images
 
 
Go to file
root 657ff2ec0e
Initial commit
2021-12-07 01:06:12 +08:00
.github/workflows Initial commit 2021-12-07 01:06:12 +08:00
pacman Initial commit 2021-12-07 01:06:12 +08:00
Dockerfile Initial commit 2021-12-07 01:06:12 +08:00
LICENSE Initial commit 2021-12-07 01:06:12 +08:00
README.md Initial commit 2021-12-07 01:06:12 +08:00

README.md

Docker Image for Arch Linux ARM

Build and Push

This is the Docker image for Arch Linux ARM. 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 group base.
  • base-devel: installed the package group base-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.