split pacmanconf generation

This commit is contained in:
lukas-heiligenbrunner 2024-01-06 22:29:13 +01:00
parent ac79ad9e42
commit bd3b04b6a5

View File

@ -29,17 +29,18 @@ COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
RUN echo $'\n\ RUN echo $'\n\
[multilib]\n\ [multilib]\n\
Include = /etc/pacman.d/mirrorlist\n\ Include = /etc/pacman.d/mirrorlist'>> /etc/pacman.conf
\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
RUN pacman -S --noconfirm base-devel git RUN pacman -S --noconfirm base-devel git
RUN pacman -Sc RUN pacman -Sc
RUN echo $'\n\
[repo]\n\
SigLevel = Optional TrustAll\n\
Server = http://localhost:8080/' >> /etc/pacman.conf
# Set the entry point or default command to run your application # Set the entry point or default command to run your application
WORKDIR /app WORKDIR /app
CMD ["untitled"] CMD ["untitled"]