From 85ba12a9505eeae5edd1acb79ba145028d18e33b Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 24 Jun 2023 09:51:19 +0200 Subject: [PATCH] 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 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7042732..577449c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]