Skip to content

Commit e17e781

Browse files
committed
fix: update CA certificates with ISRG Root X2
1 parent 2afc1cf commit e17e781

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV RAILS_ENV=production \
66
WORKDIR /app
77

88
RUN apt-get update && \
9-
apt-get -y install libpq-dev curl git libicu-dev build-essential && \
9+
apt-get install -y libpq-dev curl git libicu-dev build-essential && \
1010
curl https://deb.nodesource.com/setup_16.x | bash && \
1111
apt-get install -y nodejs && \
1212
npm install --global yarn && \
@@ -43,8 +43,8 @@ RUN apt update && \
4343
apt install -y postgresql-client imagemagick libproj-dev proj-bin libjemalloc2 && \
4444
gem install bundler:2.4.9
4545

46-
ADD https://letsencrypt.org/certs/isrg-root-x2.pem /usr/local/share/ca-certificates/isrg-root-x2.pem
47-
RUN chmod 644 /usr/local/share/ca-certificates/isrg-root-x2.pem && update-ca-certificates
46+
ADD https://letsencrypt.org/certs/isrg-root-x2.pem /etc/ssl/certs/ISRG_ROOT_X2.pem
47+
RUN chmod 644 /etc/ssl/certs/ISRG_ROOT_X2.pem && update-ca-certificates && c_rehash
4848

4949
WORKDIR /app
5050

0 commit comments

Comments
 (0)