You've already forked aur_builder
Move to daily archlinux build and check if there is PKGBUILD before
building
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
FROM docker.io/archlinux:base-devel
|
# FROM docker.io/archlinux:base-devel
|
||||||
|
FROM quay.io/archlinux/archlinux:base-devel
|
||||||
|
|
||||||
LABEL Description="Container to build archlinux packages"
|
LABEL Description="Container to build archlinux packages"
|
||||||
|
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -4,4 +4,5 @@ build:
|
|||||||
podman build -t aur_builder:latest -t aur_builder:`date -I` .
|
podman build -t aur_builder:latest -t aur_builder:`date -I` .
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
podman pull docker.io/archlinux:base-devel
|
# podman pull docker.io/archlinux:base-devel
|
||||||
|
podman pull quay.io/archlinux/archlinux:base-devel
|
||||||
|
|||||||
5
run.sh
5
run.sh
@@ -2,6 +2,11 @@
|
|||||||
|
|
||||||
set -xeuo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
|
if [[ ! -f /w/PKGBUILD ]]; then
|
||||||
|
echo "Missing PKGBUILD in /w"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appendig works
|
# /etc/hosts is managed by podman. Copying or editing with `sed -i` does not seem to work. Only appendig works
|
||||||
# podman sets up 169.254.1.2 to be the ip of the host
|
# podman sets up 169.254.1.2 to be the ip of the host
|
||||||
sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
|
sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
|
||||||
|
|||||||
Reference in New Issue
Block a user