README.md 977 Bytes
Newer Older
1
# Arch Linux Docker Image
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
2
3
[![pipeline status](https://gitlab.archlinux.org/archlinux/archlinux-docker/badges/master/pipeline.svg)](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/commits/master)

4
This repository contains all scripts and files needed to create a Docker image for Arch Linux.
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
5

Pierre Schmitz's avatar
Pierre Schmitz committed
6
7
## Dependencies
Install the following Arch Linux packages:
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
8

Pierre Schmitz's avatar
Pierre Schmitz committed
9
* make
Pierre Schmitz's avatar
Pierre Schmitz committed
10
* devtools
putty182's avatar
putty182 committed
11
* docker
12
* fakechroot
hashworks's avatar
hashworks committed
13
* fakeroot
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
14
15
16

Make sure your user can directly interact with Docker (ie. `docker info` works).

Pierre Schmitz's avatar
Pierre Schmitz committed
17
## Usage
18
Run `make docker-image-base` to build the image `archlinux/archlinux:base` with the
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
19
`base` group installed. You can also run `make docker-image-base-devel` to
20
build the image `archlinux/archlinux:base-devel` with the `base-devel` group installed.
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
21

22
## Principles
Sven-Hendrik Haase's avatar
Sven-Hendrik Haase committed
23
* Provide the Arch experience in a Docker image
Pierre Schmitz's avatar
Pierre Schmitz committed
24
25
26
* Provide the most simple but complete image to base every other upon
* `pacman` needs to work out of the box
* All installed packages have to be kept unmodified