From 692d5a0d923509553a81a04310f7778f3291817d Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Fri, 31 Jul 2026 15:42:06 -0400 Subject: [PATCH] fix podman host --- Containerfile | 2 +- Makefile | 2 +- systemd/aur_builder_image_gen.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Containerfile b/Containerfile index b0ed2be..1e8fd90 100644 --- a/Containerfile +++ b/Containerfile @@ -7,7 +7,7 @@ COPY makepkg.conf /etc/makepkg.conf.d/custom.conf COPY sudoers /etc/sudoers.d/builder COPY run.sh /run.sh -RUN echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts +# RUN echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts COPY mirrorlist /etc/pacman.d/mirrorlist diff --git a/Makefile b/Makefile index 464eef1..13e7f60 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ build: - podman build -t aur_builder:latest -t aur_builder:`date -I` . + podman build --add-host archmirror.i.balki.me:100.64.0.2 -t aur_builder:latest -t aur_builder:`date -I` . pull: # podman pull docker.io/archlinux:base-devel diff --git a/systemd/aur_builder_image_gen.service b/systemd/aur_builder_image_gen.service index fbd2864..ae0429b 100644 --- a/systemd/aur_builder_image_gen.service +++ b/systemd/aur_builder_image_gen.service @@ -6,5 +6,5 @@ Type=oneshot WorkingDirectory=/home/balki/projects/mine/aur_builder ExecStart=podman pull quay.io/archlinux/archlinux:base-devel -ExecStart=podman build -t gitea.balki.me/balki/aur_builder:latest . +ExecStart=podman build --add-host archmirror.i.balki.me:100.64.0.2 -t gitea.balki.me/balki/aur_builder:latest . ExecStart=podman push gitea.balki.me/balki/aur_builder:latest