Skip to content

Commit

Permalink
Dockerfile: add common CA certs
Browse files Browse the repository at this point in the history
Add common CA certs to the Dockerfile. The Debian image doesn't include
them by default:
debuerreotype/docker-debian-artifacts#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.
  • Loading branch information
GiedriusS committed Jun 16, 2021
1 parent 5b0fcec commit e9ec809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9ec809

Please sign in to comment.