From cd9f35fdd5729f843ea8904aa848e1b0d03f45af Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Fri, 09 Sep 2022 21:10:43 +0100 Subject: [PATCH] Install ca-certificates in Docker images --- Dockerfile-git | 2 +- Dockerfile-web | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-git b/Dockerfile-git index 657a646..5cc998b 100644 --- a/Dockerfile-git +++ a/Dockerfile-git @@ -17,6 +17,6 @@ LABEL org.opencontainers.image.source https://github.com/w4/chartered WORKDIR /app ARG DEBIAN_FRONTEND=noninteractive -RUN apt update && apt install -y libpq-dev libssl-dev && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -y libpq-dev libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=builder /app/target/release/chartered-git /app/chartered-git ENTRYPOINT ["/app/chartered-git"] diff --git a/Dockerfile-web b/Dockerfile-web index ac394c6..6847c81 100644 --- a/Dockerfile-web +++ a/Dockerfile-web @@ -17,6 +17,6 @@ LABEL org.opencontainers.image.source https://github.com/w4/chartered WORKDIR /app ARG DEBIAN_FRONTEND=noninteractive -RUN apt update && apt install -y libpq-dev libssl-dev && rm -rf /var/lib/apt/lists/* +RUN apt update && apt install -y libpq-dev libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/* COPY --from=builder /app/target/release/chartered-web /app/chartered-web ENTRYPOINT ["/app/chartered-web"] -- rgit 0.1.3