fix podman host
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user