4 Commits

Author SHA1 Message Date
85ba12a950 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
2023-06-24 09:54:57 +02:00
0f80b14869 chore: Update the builder container version 2023-06-19 21:58:27 +02:00
c594257c4f Run cargo update to keep dependencies updated 2023-06-10 00:06:38 +02:00
bd6c0a0bc6 chore: Update dependencies 2023-05-07 11:15:47 +02:00
3 changed files with 356 additions and 252 deletions

600
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package] [package]
name = "dudo" name = "dudo"
version = "0.2.0" version = "0.2.1"
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View File

@ -1,4 +1,4 @@
FROM rust:1.67.1-slim-buster as builder FROM rust:1.70.0-slim-bookworm as builder
WORKDIR /src WORKDIR /src
RUN apt-get update &&\ RUN apt-get update &&\
apt-get install -y libssl-dev gcc musl pkg-config apt-get install -y libssl-dev gcc musl pkg-config
@ -10,8 +10,8 @@ RUN cargo build --release --jobs 2 -Z sparse-registry
FROM debian:stable FROM debian:stable
COPY --from=builder /src/target/release/dudo /bin/dudo COPY --from=builder /src/target/release/dudo /bin/dudo
RUN apt-get update &&\ RUN apt-get update &&\
apt-get install openssl ca-certificates &&\ apt-get install -y openssl ca-certificates &&\
apt-get clean apt-get clean -y
RUN chmod +x /bin/dudo RUN chmod +x /bin/dudo
WORKDIR /workdir WORKDIR /workdir
ENTRYPOINT ["/bin/dudo"] ENTRYPOINT ["/bin/dudo"]