add repo to build docker image to be able to auto install built aur pkgs

This commit is contained in:
lukas-heiligenbrunner 2024-01-06 22:18:29 +01:00
parent 76fcdf5aac
commit ac79ad9e42

View File

@ -28,8 +28,12 @@ FROM archlinux
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
RUN echo $'\n\ RUN echo $'\n\
[extra]\n\ [multilib]\n\
Include = /etc/pacman.d/mirrorlist\n' >> /etc/pacman.conf Include = /etc/pacman.d/mirrorlist\n\
\n\n\
[repo]\n\
SigLevel = Optional TrustAll\n\
Server = http://localhost:8080/' >> /etc/pacman.conf
RUN pacman -Syyu --noconfirm RUN pacman -Syyu --noconfirm
RUN pacman-key --init && pacman-key --populate RUN pacman-key --init && pacman-key --populate