add Artix containers (Base and Minimal) - #8
Open
diverselightchara wants to merge 12 commits into
Open
Conversation
Add minimal and base Artix Linux Dockerfiles as systemd-free alternatives to the existing Arch templates. - Uses artixlinux/artixlinux:base-openrc base image - Replaces systemd-udev with eudev - OpenRC service management with rc-update - Conditional NetworkManager startup for NAT/gateway mode - Restricted udev coldplug trigger for Android compatibility - All Android AID groups and iptables-legacy fixes preserved Base variant includes dev tools (base-devel, clang, llvm, valgrind, strace, python) and docker-openrc. Signed-off-by: Chara <bionichuman07@gmail.com>
Add minimal and base Artix Linux Dockerfiles as systemd-free alternatives to the existing Arch templates. - Uses Armtix rootfs tarball for ARM64 support - Replaces systemd-udev with eudev - OpenRC service management with rc-update - Conditional NetworkManager startup for NAT/gateway mode - Restricted udev coldplug trigger for Android compatibility - All Android AID groups and iptables-legacy fixes preserved Base variant includes dev tools (base-devel, clang, llvm, valgrind, strace, python) and docker-openrc.
…ymlinks Armtix tarball uses merged-usr layout without legacy /bin symlinks. Use alpine stage to download, extract, and create symlinks before copying to scratch base.
Pacman 7 uses Landlock sandboxing which requires kernel support not available in Docker containers. Use --disable-sandbox flag.
Containers do not need kernel, initramfs, or firmware packages. Ignoring them prevents mkinitcpio from failing when it cannot find the kernel image in a Docker build environment.
The tarball ships with linux-aarch64, linux-aarch64-lts, and mkinitcpio pre-installed. Even with --ignore, pacman still runs post-transaction hooks for existing packages. Remove them first so mkinitcpio never runs.
eudev and eudev-openrc were removed from Artix repos. The base tarball includes udev-261.2 via system upgrade.
- Remove linux-firmware-* packages (useless in containers) - Add DisableSandbox to pacman.conf (avoids landlock issues) - Delete default armtix user from tarball Applied to both Minimal and Base Dockerfiles.
Previously appended to end of file which put it in wrong section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Artix OpenRC containers built from the Armtix tarball. Took a few tries to get working because the tarball has some quirks:
If any additional changes need to be done, please do let me know.