From e9ec80959400d46c41d6d0b6c4fcf7e296fe5ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Giedrius=20Statkevi=C4=8Dius?= Date: Wed, 16 Jun 2021 22:51:45 +0300 Subject: [PATCH] Dockerfile: add common CA certs Add common CA certs to the Dockerfile. The Debian image doesn't include them by default: https://github.com/debuerreotype/docker-debian-artifacts/issues/15. Most likely a user will want to use the reporter functionality hence it should trust some root CAs such as DigiCert and so on. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b31c5b4..dbb85879 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN go build ./cmd/pint FROM debian:stable RUN apt-get update --yes && \ - apt-get install --no-install-recommends --yes git && \ + apt-get install --no-install-recommends --yes git ca-certificates && \ rm -rf /var/lib/apt/lists/* COPY --from=0 /src/pint /usr/local/bin/pint WORKDIR /code