Sign inSign up

greyltc/archlinux

By greyltc

•Updated over 2 years ago

Baseline Arch Linux image with an open, trustable & inspectable origin. Regularly updated and tagged

Image
10

10K+

greyltc/archlinux repository overview

Build Container

⁠docker-archlinux

Minimal Arch Linux docker image with trustable, traceable & inspectable origin

⁠Intro

This project contains a script, build-root-tarxz.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!

⁠Usage

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:

  1. 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, zstd
  2. Clone the Dockerfile repo
    git clone https://github.com/greyltc/docker-archlinux.git
  3. Build the root file system archive
    cd docker-archlinux
    ./build-root-tarxz.sh # this generates a new root filesystem archive: archlinux.tar.xz
  4. Build your baseline Arch Linux docker image
    docker build -t archlinux .
  5. Profit.

Once you have the image, you could take a look inside:

docker run -i -t greyltc/archlinux bash

Tag summary

Content type

Image

Digest

sha256:d1df00470…

Size

218.6 MB

Last updated

over 2 years ago

docker pull greyltc/archlinux