Daily updated Arch Linux and ALARM image https://hub.docker.com/r/depau/archlinux-daily/tags
Go to file
2019-01-24 15:56:43 +01:00
rootfs initial commit 2019-01-23 00:31:17 +01:00
.travis.yml Revert "update Docker before installing" 2019-01-24 15:56:43 +01:00
build Support AArch64 2019-01-23 01:08:08 +01:00
create-manifest use Docker manifest capabilities 2019-01-23 22:59:30 +01:00
Dockerfile.arm32v7 add ls -la commands to debug permission issue only seen on Travis CI 2019-01-24 14:56:47 +01:00
Dockerfile.arm64v8 remove unnecessary pacman-key init 2019-01-23 10:47:34 +01:00
pacstrap-docker check pacstrap is run as root, print umask 2019-01-24 14:17:25 +01:00
prepare-qemu introduce script to prepare Qemu user emulation 2019-01-23 11:01:54 +01:00
push fix docker push 2019-01-23 01:14:54 +01:00
README.md add README.md 2019-01-23 23:32:21 +01:00

Basic Arch Linux ARM Docker images Build Status

Docker images for Arch Linux ARM on AArch32 (ARMv7-A) and AArch64 (ARMv8-A). Built using native pacman and Docker multi-stage builds. Builds weekly by Travis CI on publicly visible infrastructure using Qemu emulation.

Running the images

The images are on Docker Hub. Use the convenient docker run:

docker run --rm -ti agners/archlinuxarm

Instead of using the multi-arch container above, you can also get the architecture specific image directly:

docker run --rm -ti agners/archlinuxarm-arm32v7


Tag Update Type Description
latest weekly minimal minimal Arch Linux ARM with pacman support

Layer structure

The image is generated from a freshly built pacman rootfs. Pacman has configured to delete man pages and clean the package cache after installation to keep images small.

Issues and improvements

If you want to contribute, get to the issues-section of this repository.

Common hurdles

Setting the timezone

Simply add the TZ environment-variable and define it with a valid timezone-value.

docker run -e TZ=Europe/Berlin agners/archlinuxarm

Building it yourself


  • Docker with experimental mode on (required for squash)
  • sudo or root is neccessary to setup binfmt for Qemu user mode emulation


  • Prepare binfmt use with Qemu user mode using sudo ./prepare-qemu
  • Run BUILD_ARCH=<arch> ./build to build
    • Use BUILD_ARCH=arm32v7 for ARMv7 Aarch32
    • Use BUILD_ARCH=arm64v8 for ARMv8 Aarch64

If you want to push the images, run ./push. But be aware you have no push access to the repos! Edit the scripts to push to custom Docker Hub locations!

Building from scratch

Since the image depends on itself, the question which arise is how this all started. The initial containers have been created using the tarballs provided by the Arch Linux ARM project. I used the following steps to bootstrap for each architecture:

sudo tar xvzf ArchLinuxARM-armv7-latest.tar.gz -C tmp-arch
sudo tar cf ArchLinuxARM-armv7-latest.tar -C tmp-arch/ .
docker import ArchLinuxARM-armv7-latest.tar agners/armv7-archlinux:latest


Ideas have been taken from already existing Docker files for Arch Linux. However, this repository takes a slightly different approach to create images.