Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ permissions:
contents: read
packages: write

#------------------------------------------------------------------------------------#
#------------------------------------------------------------------------------------#
jobs:
build-push-docker-alpine:
name: Push (ArchLinux) --> Docker Hub
runs-on: ubuntu-latest

steps:
- name: Debloat Runner
run: |
Expand Down Expand Up @@ -57,14 +57,6 @@ jobs:
pushd "$(mktemp -d)" >/dev/null 2>&1
wget "https://bin.pkgforge.dev/$(uname -m)/rate-mirrors" -O "./rate-mirrors" && chmod +x "./rate-mirrors"
if [[ -s "./rate-mirrors" && $(stat -c%s "./rate-mirrors") -gt 10 ]]; then
##386
pushd "$(mktemp -d)" >/dev/null 2>&1
curl -qfsSL "https://archlinux32.org/mirrorlist/?country=all&protocol=https" -o "./mirrors.txt"
sed -i '/^#Server/s/^#//' "./mirrors.txt"
if [[ -s "./mirrors.txt" && $(wc -l < "./mirrors.txt") -gt 3 ]]; then
cat "./mirrors.txt" | tee "/tmp/ARCHLINUX/docker-archlinux/rootfs/386/etc/pacman.d/mirrorlist"
fi
popd >/dev/null 2>&1
##Arm64/Armv7
pushd "$(mktemp -d)" >/dev/null 2>&1
wget "https://bin.pkgforge.dev/$(uname -m)/rate-mirrors" -O "./rate-mirrors" && chmod +x "./rate-mirrors"
Expand Down Expand Up @@ -105,11 +97,11 @@ jobs:
uses: docker/build-push-action@v6
with:
context: "/tmp/ARCHLINUX/docker-archlinux"
platforms: "linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/riscv64,linux/ppc64le"
platforms: "linux/amd64,linux/arm64,linux/arm/v7,linux/riscv64,linux/ppc64le"
tags: |
pkgforge/archlinux:latest
pkgforge/archlinux:${{ env.DOCKER_TAG }}
${{ env.GHCR_NAME }}:latest
${{ env.GHCR_NAME }}:${{ env.DOCKER_TAG }}
push: true
push: true
continue-on-error: true
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Unofficial, automated Docker multi-platform images of Arch Linux for the followi
| x86_64 | `linux/amd64` | [Arch Linux](https://archlinux.org) |
| aarch64 | `linux/arm64` | [Arch Linux ARM](https://archlinuxarm.org) |
| armv7h | `linux/arm/v7` | [Arch Linux ARM](https://archlinuxarm.org) |
| pentium4[^1] | `linux/386` | [Arch Linux 32](https://archlinux32.org) |
| riscv64 | `linux/riscv64` | [Arch Linux RISC-V](https://archriscv.felixc.at) |
| powerpc64le | `linux/ppc64le` | [Arch POWER](https://archlinuxpower.org) |

Expand All @@ -21,5 +20,3 @@ Unofficial, automated Docker multi-platform images of Arch Linux for the followi
!# This will drop you in a bash shell
docker run --rm -it --privileged --net="host" "pkgforge/archlinux:latest"
```

[^1]: The pentium4 architecture is for 32-bit CPUs that support SSE2 and the only one we support (for now). See [here](https://archlinux32.org/architecture) for a comparison of architectures supported by upstream.
2 changes: 0 additions & 2 deletions bootstrap/386/etc/bootstrap-packages.txt

This file was deleted.

93 changes: 0 additions & 93 deletions rootfs/386/etc/pacman.conf

This file was deleted.

17 changes: 0 additions & 17 deletions rootfs/386/etc/pacman.d/mirrorlist

This file was deleted.