fix: Fix the Dockerfile, so it can build again

I think I've just forgotten to add `-y` to apt-get. So the image could
not be built because it was waiting for a user's input

Issue: https://git.badhouseplants.net/allanger/dumb-downloader/issues/9
This commit is contained in:
Nikolai Rodionov 2023-06-24 09:51:19 +02:00
parent 0f80b14869
commit 85ba12a950
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -10,8 +10,8 @@ RUN cargo build --release --jobs 2 -Z sparse-registry
FROM debian:stable
COPY --from=builder /src/target/release/dudo /bin/dudo
RUN apt-get update &&\
apt-get install openssl ca-certificates &&\
apt-get clean
apt-get install -y openssl ca-certificates &&\
apt-get clean -y
RUN chmod +x /bin/dudo
WORKDIR /workdir
ENTRYPOINT ["/bin/dudo"]