Minimal Arch Linux docker image with trustable, traceable & inspectable origin
This project contains a script,
buildme.sh, which uses a slightly modified Arch bootstrapping script from this project to create an Arch Linux root filesystem archive suitable for use in a Docker container.
The filesystem used in the greyltc/archlinux container on the Docker registry is in the tar.xz file in this repo. Feel free to inspect it to prove to yourself that it's safe before using it in your project!
Get the trustable, AUTOMATED BUILD prebuilt image from https://hub.docker.com/r/greyltc/archlinux:
docker pull greyltc/archlinux
or alternatively build it locally yourself from the source repository like this:
- Install dependencies
Use your favorite Linux distro's package manager to install the following commands/packages: fakechroot, fakeroot, chroot, xz, coreutils, wget, sed, gawk, tar, gzip, git, docker, bash
- Clone the Dockerfile repo
git clone https://github.com/greyltc/docker-archlinux.git
- Build the root file system archive
./buildme.sh # this generates a new root filesystem archive: archlinux.tar.xz
- Build your baseline Arch Linux docker image
docker build -t archlinux .
Once you have the image, you could take a look inside:
docker run -i -t greyltc/archlinux bash