fix dockerfile arch extra newlines

This commit is contained in:
2024-01-06 21:53:48 +01:00
parent 63eea3c822
commit 76fcdf5aac
3 changed files with 5 additions and 3 deletions

View File

@ -27,9 +27,9 @@ FROM archlinux
# Copy the built binary from the previous stage
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
RUN echo $'\
[extra]\
Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.conf
RUN echo $'\n\
[extra]\n\
Include = /etc/pacman.d/mirrorlist\n' >> /etc/pacman.conf
RUN pacman -Syyu --noconfirm
RUN pacman-key --init && pacman-key --populate