Forráskód Böngészése

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 3 éve
szülő
commit
74bb4d36f8
1 módosított fájl, 1 hozzáadás és 1 törlés
  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