Skip to content

Commit

Permalink
Cleanup expired Let's Encrypt CA (#1959)
Browse files Browse the repository at this point in the history
Let's Encrypt old Certificate Authority expired on Sept 30, 2021.
Most of InSTEDD's infra uses those certificates, so this patch
makes new certificates work again.
  • Loading branch information
matiasgarciaisaia authored Oct 12, 2021
1 parent adc5abf commit 140bbd8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM elixir:1.5.3

# Cleanup expired Let's Encrypt CA (Sept 30, 2021)
RUN sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf && update-ca-certificates -f

RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-client inotify-tools sox libsox-fmt-mp3 && \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM elixir:1.5.3

# Cleanup expired Let's Encrypt CA (Sept 30, 2021)
RUN sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf && update-ca-certificates -f

RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-client inotify-tools sox libsox-fmt-mp3 vim && \
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.webpack
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FROM node:10.15.3

# Cleanup expired Let's Encrypt CA (Sept 30, 2021)
RUN sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf && update-ca-certificates -f

RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y libelf1 && \
Expand Down

0 comments on commit 140bbd8

Please sign in to comment.