Procházet zdrojové kódy

Add ca-certificates and `y` switch

Add ca-certificates package and confirm installation with `-y`.

Cannot validate certificates with dog when ca certs are missing.
André Peters před 2 roky
rodič
revize
74bb4d36f8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,7 +11,7 @@ RUN cargo build --release
 
 FROM debian:buster-slim
 
-RUN apt update && apt install libssl1.1 && apt clean all
+RUN apt update && apt install -y libssl1.1 ca-certificates && apt clean all
 
 COPY --from=build /build/target/release/dog /dog