mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-06 06:07:18 +02:00
README: rewrap, use standalone references
Re-wrap the readme to about 80 columns and use standalone references for the long URLs. Reduces the eye-bleed for casual contributors. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
615bfa55ea
commit
9c32b05bfa
61
README.md
61
README.md
@ -1,16 +1,25 @@
|
|||||||
# Arch Linux OCI Images
|
# Arch Linux OCI Images
|
||||||
|
|
||||||
[](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/commits/master)
|
[![pipeline status][pipeline]][commits]
|
||||||
|
|
||||||
Arch Linux provides OCI-Compliant container images in multiple repositories:
|
Arch Linux provides OCI-Compliant container images in multiple repositories:
|
||||||
* [Weekly in the official DockerHub library](https://hub.docker.com/_/archlinux): `podman pull docker.io/library/archlinux:latest` or `docker pull archlinux:latest`
|
* [Weekly in the official DockerHub library][hub-arch]:
|
||||||
* [Daily in our DockerHub repository](https://hub.docker.com/r/archlinux/archlinux): `podman pull docker.io/archlinux/archlinux:latest` or `docker pull archlinux/archlinux:latest`
|
`podman pull docker.io/library/archlinux:latest` or `docker pull archlinux:latest`
|
||||||
* [Daily in our quay.io repository](https://quay.io/repository/archlinux/archlinux): `podman pull quay.io/archlinux/archlinux:latest` or `docker pull quay.io/archlinux/archlinux:latest`
|
* [Daily in our DockerHub repository][hub-containers]:
|
||||||
* [Daily in our ghcr.io repository](https://github.com/archlinux/archlinux-docker/pkgs/container/archlinux): `podman pull ghcr.io/archlinux/archlinux:latest` or `docker pull ghcr.io/archlinux/archlinux:latest`
|
`podman pull docker.io/archlinux/archlinux:latest` or `docker pull archlinux/archlinux:latest`
|
||||||
|
* [Daily in our quay.io repository][quay-containers]:
|
||||||
|
`podman pull quay.io/archlinux/archlinux:latest` or `docker pull quay.io/archlinux/archlinux:latest`
|
||||||
|
* [Daily in our ghcr.io repository][ghcr-containers]:
|
||||||
|
`podman pull ghcr.io/archlinux/archlinux:latest` or `docker pull ghcr.io/archlinux/archlinux:latest`
|
||||||
|
|
||||||
Two versions of the image are provided: `base` (approx. 150 MiB) and `base-devel` (approx. 260 MiB), containing the respective meta package. Both are available as tags with `latest` pointing to `base`. Additionally, images are tagged with their date and build job number, f.e. `base-devel-20201118.0.9436`.
|
Two versions of the image are provided: `base` (approx. 150 MiB) and `base-devel`
|
||||||
|
(approx. 260 MiB), containing the respective meta package. Both are available as
|
||||||
|
tags with `latest` pointing to `base`. Additionally, images are tagged with their
|
||||||
|
date and build job number, f.e. `base-devel-20201118.0.9436`.
|
||||||
|
|
||||||
While the images are regularly kept up to date it is strongly recommended running `pacman -Syu` right after starting a container due to the rolling release nature of Arch Linux.
|
While the images are regularly kept up to date it is strongly recommended
|
||||||
|
running `pacman -Syu` right after starting a container due to the rolling
|
||||||
|
release nature of Arch Linux.
|
||||||
|
|
||||||
## Principles
|
## Principles
|
||||||
* Provide the Arch experience in a Docker image
|
* Provide the Arch experience in a Docker image
|
||||||
@ -29,7 +38,8 @@ While the images are regularly kept up to date it is strongly recommended runnin
|
|||||||
|
|
||||||
## Building your own image
|
## Building your own image
|
||||||
|
|
||||||
[This repository](https://gitlab.archlinux.org/archlinux/archlinux-docker) contains all scripts and files needed to create an OCI image for Arch Linux.
|
[This repository][self] contains all scripts and files needed to create an OCI
|
||||||
|
image for Arch Linux.
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
Install the following Arch Linux packages:
|
Install the following Arch Linux packages:
|
||||||
@ -51,12 +61,41 @@ package installed. You can also run `make image-base-devel` to build the image
|
|||||||
|
|
||||||
### Daily releases
|
### Daily releases
|
||||||
|
|
||||||
Daily images are build with scheduled [GitLab CI](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/.gitlab-ci.yml) using our own runner infrastructure. Initially root filesystem archives are constructed and provided in our [package registry](https://gitlab.archlinux.org/archlinux/archlinux-docker/-/packages). The released multi-stage Dockerfile downloads those archives and verifies their integrity before unpacking it into an OCI image layer. Images are built using [podman](https://podman.io/), which also publishes them to our external repositories.
|
Daily images are build with scheduled [GitLab CI][in-tree-CI] using our own
|
||||||
|
runner infrastructure. Initially root filesystem archives are constructed and
|
||||||
|
provided in our [package registry][self-package-registry]. The released
|
||||||
|
multi-stage Dockerfile downloads those archives and verifies their integrity
|
||||||
|
before unpacking it into an OCI image layer. Images are built using
|
||||||
|
[podman](https://podman.io/), which also publishes them to our external
|
||||||
|
repositories.
|
||||||
|
|
||||||
### Weekly releases
|
### Weekly releases
|
||||||
|
|
||||||
Weekly releases to the official DockerHub library use the same pipeline as daily builds. Updates are provided as automatic [pull requests](https://github.com/docker-library/official-images/pulls?q=is%3Apr+archlinux+is%3Aclosed+author%3Aarchlinux-github) to the [official-images library](https://github.com/docker-library/official-images/blob/master/library/archlinux), whose GitHub pipeline will build the images using our provided rootfs archives and Dockerfiles.
|
Weekly releases to the official DockerHub library use the same pipeline as
|
||||||
|
daily builds. Updates are provided as automatic [pull requests][github-docker-prs]
|
||||||
|
to the [official-images library][github-docker-arch], whose GitHub pipeline will
|
||||||
|
build the images using our provided rootfs archives and Dockerfiles.
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
|
|
||||||
Changes in Git feature branches are built and tested using the pipeline as well. Development images are uploaded to our [GitLab Container Registry](https://gitlab.archlinux.org/archlinux/archlinux-docker/container_registry).
|
Changes in Git feature branches are built and tested using the pipeline as well.
|
||||||
|
Development images are uploaded to our
|
||||||
|
[GitLab Container Registry][self-container-registry].
|
||||||
|
|
||||||
|
[pipeline]: https://gitlab.archlinux.org/archlinux/archlinux-docker/badges/master/pipeline.svg
|
||||||
|
[commits]: https://gitlab.archlinux.org/archlinux/archlinux-docker/-/commits/master
|
||||||
|
|
||||||
|
[hub-arch]: https://hub.docker.com/_/archlinux
|
||||||
|
[hub-containers]: https://hub.docker.com/r/archlinux/archlinux
|
||||||
|
[quay-containers]: https://quay.io/repository/archlinux/archlinux
|
||||||
|
[ghcr-containers]: https://github.com/archlinux/archlinux-docker/pkgs/container/archlinux
|
||||||
|
|
||||||
|
[self]: https://gitlab.archlinux.org/archlinux/archlinux-docker
|
||||||
|
|
||||||
|
[in-tree-CI]: https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/.gitlab-ci.yml
|
||||||
|
[self-package-registry]: https://gitlab.archlinux.org/archlinux/archlinux-docker/-/packages
|
||||||
|
|
||||||
|
[github-docker-prs]: https://github.com/docker-library/official-images/pulls?q=is%3Apr+archlinux+is%3Aclosed+author%3Aarchlinux-github
|
||||||
|
[github-docker-arch]: https://github.com/docker-library/official-images/blob/master/library/archlinux
|
||||||
|
|
||||||
|
[self-container-registry]: https://gitlab.archlinux.org/archlinux/archlinux-docker/container_registry
|
||||||
|
Loading…
Reference in New Issue
Block a user