arch
This commit is contained in:
parent
f09feac091
commit
9b2075acc3
1 changed files with 9 additions and 6 deletions
15
Dockerfile
15
Dockerfile
|
@ -5,18 +5,21 @@ WORKDIR /app
|
||||||
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM debian:bookworm
|
FROM archlinux
|
||||||
|
|
||||||
|
RUN pacman-key --init && \
|
||||||
|
pacman-key --populate archlinux
|
||||||
|
|
||||||
# Install dependencies for yt-dlp and ffmpeg
|
# Install dependencies for yt-dlp and ffmpeg
|
||||||
RUN apt-get update && \
|
RUN pacman -Sy --noconfirm archlinux-keyring && \
|
||||||
apt-get install -y \
|
pacman -Syu --noconfirm && \
|
||||||
|
pacman -S --noconfirm \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
yt-dlp \
|
yt-dlp
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
COPY --from=builder /app/target/release/hoard /hoard
|
COPY --from=builder /app/target/release/hoard /hoard
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
CMD ["/hoard"]
|
CMD ["/hoard"]
|
||||||
|
|
Loading…
Reference in a new issue