Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.
/ archlinux Public archive

Archlinux docker image from scratch (built daily by travis cronjob)

Notifications You must be signed in to change notification settings

archimg/archlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Arch Linux images Build Status

Docker images for Arch Linux. Built daily by Travis CI on publicly visible infrastructure.

Running the images

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

docker run --rm -ti archimg/base
docker run --rm -ti archimg/base-devel

Tags

Repo Tag Update Type Description
base latest daily minimal most packages of base-group, except some big ones like linux-firmware
base full daily full all packages of base-group
base‑devel latest daily full all packages of base and base-devel-group

The monthly tagged images aren't supposed to be used in production. Arch Linux is a rolling release distro and partial upgrades are unsupported there. It requires you to always do a full system upgrade, so it wouldn't make any difference to use the latest tag.

Layer structure

The image consists of two parts:

  • the basement layer, derived from the tarball (updated monthly)
    • this layer has always its own tag in form of YEAR.MONTH.01
    • it's discouraged to use this as your base image
  • the update layer, which only contains the updates (updated daily)
    • this layer has always its own tag as latest

This implies, that you get daily updates, but only have to download the actual change and not the full image.

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 archimg/base

Building it yourself

Prerequisites

  • docker-squash
  • sudo or root is absolutely neccessary to build the image from scratch
    • if you use ./pull instead of ./build, sudo is not required

Building

  • Run either sudo -H ./build or ./pull
    • If you run sudo -H ./build, it'll download the tarball and build the images from scratch (sudo required)
    • If you run ./pull, docker will download the images from dockerhub
  • Run ./update to generate the latest-tags and update the images.

If you want to push the images, run ./push. But be aware you have no push access to the repos!