All Projects → greyltc → docker-archlinux

greyltc / docker-archlinux

Licence: GPL-2.0 license
Baseline Arch Linux Docker image

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-archlinux

Arch Boxes
Arch-boxes provides automated builds of the Arch Linux releases for different providers and post-processors (read-only mirror)
Stars: ✭ 149 (+204.08%)
Mutual labels:  archlinux
Image Bootstrap
⛅️ Creates (chroots and) bootable virtual machine images; command line tool (Python 3)
Stars: ✭ 178 (+263.27%)
Mutual labels:  archlinux
Archwsl
ArchLinux based WSL Distribution. Supports multiple install.
Stars: ✭ 3,667 (+7383.67%)
Mutual labels:  archlinux
Termux Os
All in One Termux Os..!! (New)
Stars: ✭ 150 (+206.12%)
Mutual labels:  archlinux
Kernel Modules Hook
Keeps your Arch Linux fully functional after a kernel upgrade
Stars: ✭ 175 (+257.14%)
Mutual labels:  archlinux
Ramroot
Load root file system to ram during boot.
Stars: ✭ 190 (+287.76%)
Mutual labels:  archlinux
Slim themes
A Beautiful Collection Of SLiM Themes.
Stars: ✭ 148 (+202.04%)
Mutual labels:  archlinux
simplyarch
The blazing fast ⚡ Arch Linux ⚡ installation script that puts you on control 🌟
Stars: ✭ 38 (-22.45%)
Mutual labels:  archlinux
Ugrub
Create an ultimate multiboot USB flash drive with Grub2 bootloader
Stars: ✭ 177 (+261.22%)
Mutual labels:  archlinux
Vagrantboxes
Handcrafted Arch Linux Vagrant base box with ❤️
Stars: ✭ 242 (+393.88%)
Mutual labels:  archlinux
Tmoe Linux
🍭Without any basic knowledge of linux shell,you can easily install and configure a GNU/Linux graphical desktop environment on 📱Android termux and 💻WSL .🍰You can also run VSCode on your android phone.🍹Graphical qemu manager,🐋support running docker on Android.配置WSL和安卓手机的linux容器,桌面环境,主题美化,远程桌面,音频服务,镜像源,uefi开机启动项,webdav(nginx),fcitx输入法以及qemu-system虚拟机...
Stars: ✭ 149 (+204.08%)
Mutual labels:  archlinux
An Idiots Guide To Installing Arch On A Lenovo Carbon X1 Gen 6
so you wanted to install arch huh
Stars: ✭ 165 (+236.73%)
Mutual labels:  archlinux
Arch Linux Installer
Arch-Linux-Install-Script/Arch Linux 安装脚本
Stars: ✭ 192 (+291.84%)
Mutual labels:  archlinux
Spotcommander
The most intuitive and feature-rich remote control for Spotify for Linux
Stars: ✭ 152 (+210.2%)
Mutual labels:  archlinux
ArchI0
ArchI0 : Arch-Based Distros Applications Automatic Installation Script
Stars: ✭ 26 (-46.94%)
Mutual labels:  archlinux
Ansible Aur
Ansible module to manage packages from the AUR
Stars: ✭ 149 (+204.08%)
Mutual labels:  archlinux
Alterlinux
Alter Linux - ArchLinux-derived OS made in Japan aimed at being usable by anyone
Stars: ✭ 179 (+265.31%)
Mutual labels:  archlinux
abs
PKGBUILDs for the Arch User Repository
Stars: ✭ 38 (-22.45%)
Mutual labels:  archlinux
distrobox
Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
Stars: ✭ 4,371 (+8820.41%)
Mutual labels:  archlinux
Rua
Build tool for Arch Linux providing control, review and jailed build options
Stars: ✭ 224 (+357.14%)
Mutual labels:  archlinux

Build Container

docker-archlinux

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

Intro

This project contains a script, build-root.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 an asset attached to each of the releases for this repo. Feel free to inspect it to prove to yourself that it's safe before using it in your project!

Usage

Use docker to pull the latest trustable, AUTOMATED BUILD prebuilt image:

docker pull ghcr.io/greyltc/archlinux
# from https://github.com/greyltc/docker-archlinux/pkgs/container/archlinux

or

docker pull greyltc/archlinux
# from https://hub.docker.com/r/greyltc/archlinux

Building

You can use docker to build this container yourself.

From a release asset

You can fetch a docker build context from a release asset and use that to build the container.

  1. Build your baseline Arch Linux docker image
    docker build --tag arch-localbuild https://github.com/greyltc/docker-archlinux/releases/download/v20230313.0.194/docker-archlinux-x86_64.tar.xz
    
  2. Inspect the container
    docker run --interactive --tty arch-localbuild bash
    

From scratch

You can use the scripts in this repo to build this container from scratch.

  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 repo
    git clone https://github.com/greyltc/docker-archlinux.git
    cd docker-archlinux
    
  3. Make a build context
    ./build-root.sh x86_64 out
    
  4. Build your baseline Arch Linux docker image
    docker build --tag arch-localbuild out/x86_64
    
  5. Inspect the container
    docker run --interactive --tty arch-localbuild bash
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].