- Saved searches
- Use saved searches to filter your results more quickly
- License
- lopsided98/archlinux-docker
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- archimg/archlinux
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
lopsided98/archlinux-docker
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Basic Arch Linux Docker images
Docker images for Arch Linux on x86_64, AArch32 (ARMv7-A) and AArch64 (ARMv8-A). Built using native pacman and Docker multi-stage builds. Built daily by GitHub Actions on publicly visible infrastructure using QEMU emulation to support ARM.
The images are on Docker Hub. Use the convenient docker run :
docker run --rm -ti lopsided/archlinux
Instead of using the multi-arch container above, you can also get the architecture specific image directly:
docker run --rm -ti lopsided/archlinux-arm32v7
Tag | Update | Type | Description |
---|---|---|---|
latest | daily | minimal | Minimal Arch Linux with pacman support |
devel | daily | base-devel | Arch Linux with base-devel installed |
The image is generated from a freshly built pacman rootfs. Pacman has configured to delete man pages and clean the package cache after installation to keep images small.
If you want to contribute, get to the issues-section of this repository.
Simply add the TZ environment-variable and define it with a valid timezone-value.
docker run -e TZ=America/New_York lopsided/archlinux
- Docker with experimental mode on (required for squash)
- sudo or root is neccessary to setup binfmt for Qemu user mode emulation
- Prepare binfmt use with Qemu user mode using sudo ./prepare-qemu
- Run BUILD_ARCH= ./build to build
- Use BUILD_ARCH=amd64 for x86_64
- Use BUILD_ARCH=arm32v7 for ARMv7 Aarch32
- Use BUILD_ARCH=arm64v8 for ARMv8 Aarch64
If you want to push the images, run ./push . But be aware you have no push access to the repos! Edit the scripts to push to custom Docker Hub locations!
Since the image depends on itself, the question which arises is how this all started. The initial containers have been created using the tarballs provided by the Arch Linux ARM project. I used the following steps to bootstrap for each architecture:
gzip -d ArchLinuxARM-armv7-latest.tar.gz docker import ArchLinuxARM-armv7-latest.tar lopsided/archlinux-arm32v7:latest
Ideas have been taken from already existing Docker files for Arch Linux. However, this repository takes a slightly different approach to create images.
- https://github.com/agners/archlinux-docker
- Limited architectures
- Duplication of Dockerfiles
- Only built weekly
- No image with base-devel preinstalled
- Focus on Arch Linux for x86
- Uses docker run in priviledged mode to build images
- Uses prebuilt tarballs which contain packages not required in containers
About
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
archimg / archlinux Public archive
Archlinux docker image from scratch (built daily by travis cronjob)
archimg/archlinux
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
Docker images for Arch Linux. Built daily by Travis CI on publicly visible infrastructure.
The images are on Docker Hub. Use the convenient docker run :
docker run --rm -ti archimg/base docker run --rm -ti archimg/base-devel
Repo Tag Update Type Description base latest daily minimal most packages of base-group, except some big ones like linux-firmware base full daily full all packages of base-group base‑devel latest daily full all packages of base and base-devel-group The monthly tagged images aren’t supposed to be used in production. Arch Linux is a rolling release distro and partial upgrades are unsupported there. It requires you to always do a full system upgrade, so it wouldn’t make any difference to use the latest tag.
The image consists of two parts:
- the basement layer, derived from the tarball (updated monthly)
- this layer has always its own tag in form of YEAR.MONTH.01
- it’s discouraged to use this as your base image
- this layer has always its own tag as latest
This implies, that you get daily updates, but only have to download the actual change and not the full image.
If you want to contribute, get to the issues-section of this repository.
Simply add the TZ environment-variable and define it with a valid timezone-value.
docker run -e TZ=Europe/Berlin archimg/base
- docker-squash
- sudo or root is absolutely neccessary to build the image from scratch
- if you use ./pull instead of ./build , sudo is not required
- Run either sudo -H ./build or ./pull
- If you run sudo -H ./build , it’ll download the tarball and build the images from scratch (sudo required)
- If you run ./pull , docker will download the images from dockerhub
If you want to push the images, run ./push . But be aware you have no push access to the repos!
About
Archlinux docker image from scratch (built daily by travis cronjob)