Automated 32 bit build of Arch Linux (i686) with linux32 entry point.
1.3K
Used for Docker Hub build triggering Docker build version: 20170518-2
Application
Description
Arch Linux is an independently developed, i686/x86-64 general purpose GNU/Linux distribution versatile enough to suit any role. Development focuses on simplicity, minimalism, and code elegance.
Build notes
Arch Linux image built "from scratch" using shim and ducktape (https://github.com/dock0/ducktape) to bootstrap. This image has been stripped down to reduce size and is ready to be used to build upon as a base, see binhex/arch-base for example.
Instructions:
Log into the chroot with systemd-nspawn -b -D <CHROOT_DIR>/root bash
Pack up the chroot into a tarball via the method described in the 2nd link (Arch Linux from scratch.
Clear the pacman package cache to clean some space out with paccache -r (typically 6+ GB).
Create the tarball inside the chroot (size expected: 300 MB).
mkdir -p /ext && tar -cvpjf /ext/root.tar.bz2 --exclude=/ext --exclude=/etc/hosts --exclude=/etc/hostname --exclude=/etc/resolv.conf --exclude=/sys --one-file-system /
Install openssh in the chroot
Transfer the tarball was via scp back to the original host with scp /ext/root.tar.bz2 user@host:/home/user
Build using the dockerfile with your host computer, located at (Arch Linux from scratch. Docker does not install (even though I've read you can with a good deal of hassle) on a 32 bit host
docker build -f /path/to/a/Dockerfile .
Optional: remove openssh from the chroot to clean up
Credit to original work: https://github.com/binhex
Content type
Image
Digest
Size
327.3 MB
Last updated
over 9 years ago
docker pull professorkaos64/arch-linux-32