You've already forked aur_builder
change host ip to ts ip
This commit is contained in:
@@ -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 "169.254.1.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
|
||||
|
||||
|
||||
4
run.sh
4
run.sh
@@ -9,8 +9,8 @@ fi
|
||||
|
||||
# /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
|
||||
sudo sh -c 'echo "169.254.1.2 archmirror.i.balki.me" >> /etc/hosts'
|
||||
sudo sh -c 'echo "169.254.1.2 gitea.balki.me" >> /etc/hosts'
|
||||
sudo sh -c 'echo "100.64.0.2 archmirror.i.balki.me" >> /etc/hosts'
|
||||
sudo sh -c 'echo "100.64.0.2 gitea.balki.me" >> /etc/hosts'
|
||||
|
||||
sudo pacman -Syu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user