Skip to content

Commit

Permalink
Remove expired Let's Encrypt root certificate from Mono containers
Browse files Browse the repository at this point in the history
  • Loading branch information
DasSkelett committed Sep 30, 2021
1 parent 83aad88 commit 29feea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.metadata
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM mono:latest

RUN /bin/sed -i 's/^mozilla\/DST_Root_CA_X3.crt$/!mozilla\/DST_Root_CA_X3.crt/' /etc/ca-certificates.conf && \
/usr/sbin/update-ca-certificates
RUN apt-get update && \
apt-get install -y --no-install-recommends python3 python3-pip python3-setuptools git build-essential python3-dev && \
apt-get clean
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.netkan
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM mono:latest
RUN /bin/sed -i 's/^mozilla\/DST_Root_CA_X3.crt$/!mozilla\/DST_Root_CA_X3.crt/' /etc/ca-certificates.conf && \
/usr/sbin/update-ca-certificates
RUN useradd -ms /bin/bash netkan
USER netkan
WORKDIR /home/netkan
Expand Down

0 comments on commit 29feea1

Please sign in to comment.