From 9b2075acc3c3fc63b04bb51d8d6457b42ff9f340 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Thu, 7 Mar 2024 18:22:22 +0100 Subject: [PATCH] arch --- Dockerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45185ef..6b92730 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,18 +5,21 @@ WORKDIR /app RUN cargo build --release -FROM debian:bookworm +FROM archlinux + +RUN pacman-key --init && \ + pacman-key --populate archlinux # Install dependencies for yt-dlp and ffmpeg -RUN apt-get update && \ - apt-get install -y \ +RUN pacman -Sy --noconfirm archlinux-keyring && \ + pacman -Syu --noconfirm && \ + pacman -S --noconfirm \ ca-certificates \ ffmpeg \ - yt-dlp \ - && rm -rf /var/lib/apt/lists/* + yt-dlp COPY --from=builder /app/target/release/hoard /hoard WORKDIR / -CMD ["/hoard"] \ No newline at end of file +CMD ["/hoard"]