Skip to content

Commit

Permalink
Remove CNNIC certs removal step which is not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Nov 1, 2024
1 parent c3c1ccb commit d558de5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions misc/certs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@ FROM public.ecr.aws/docker/library/debian:stable-20240110-slim
RUN apt-get update && \
apt-get install -y ca-certificates && \
rm -rf /var/lib/apt/lists/*

# If anyone has a better idea for how to trim undesired certs or a better ca list to use, I'm all ears
RUN cp /etc/ca-certificates.conf /tmp/caconf && cat /tmp/caconf | \
grep -v "mozilla/CNNIC_ROOT\.crt" > /etc/ca-certificates.conf && \
update-ca-certificates --fresh

0 comments on commit d558de5

Please sign in to comment.