Coder Social home page Coder Social logo

tubbz-alt / archlinux-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from archlinux/archlinux-docker

0.0 0.0 0.0 1.01 GB

Docker Base Image for Arch Linux (read-only mirror)

Home Page: https://gitlab.archlinux.org/archlinux/archlinux-docker

License: GNU General Public License v3.0

Makefile 77.76% Shell 22.24%

archlinux-docker's Introduction

Arch Linux Docker Image

pipeline status

Arch Linux provides Docker images both in the official DockerHub library (docker pull library/archlinux:latest) and in our own repository (docker pull archlinux/archlinux:latest).

Images in the official library are updated weekly while our own repository is updated daily.

Two versions of the image are provided: base (~160MB) and base-devel (~240MB), containing the respective meta package / package group. 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.

Principles

  • Provide the Arch experience in a Docker image
  • Provide the simplest but complete image to base and base-devel on a regular basis
  • pacman needs to work out of the box
  • All installed packages have to be kept unmodified

Building your own image

This repository contains all scripts and files needed to create a Docker image for Arch Linux.

Dependencies

Install the following Arch Linux packages:

  • make
  • devtools
  • docker
  • fakechroot
  • fakeroot

Make sure your user can directly interact with Docker (i.e. docker info works).

Usage

Run make docker-image-base to build the archlinux:base image with the base meta package installed. You can also run make docker-image-base-devel to build the image archlinux:base-devel which additionally has the base-devel group installed.

Pipeline

Daily builds

Daily images are build with scheduled GitLab CI using our own runner infrastructure. Initially root filesystem archives are constructed and provided in our package registry. The released multi-stage Dockerfile downloads those archives and verifies their integrity before unpacking it into a Docker image layer. Images are built using kaniko to avoid using privileged Docker containers, which also publishes them to our DockerHub repository.

Weekly releases

Weekly releases to the official DockerHub library use the same pipeline as daily builds. Updates are provided as automatic pull requests to the official-images library, whose GitHub pipeline will build the images using our provided rootfs archives and Dockerfiles.

Development

Changes in Git feature branches are built and tested using the pipeline as well. Development images are uploaded to our GitLab Container Registry.

archlinux-docker's People

Contributors

eli-schwartz avatar hashworks avatar klausenbusk avatar pierres avatar putty182 avatar santiagotorres avatar svenstaro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.