File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,15 @@ WORKDIR /app
77
88RUN apt-get update && \
99 apt-get -y install libpq-dev curl git libicu-dev build-essential && \
10+ apt-get upgrade ca-certificates && \
1011 curl https://deb.nodesource.com/setup_16.x | bash && \
1112 apt-get install -y nodejs && \
1213 npm install --global yarn && \
1314 gem install bundler:2.4.9
1415
16+ ADD https://letsencrypt.org/certs/isrg-root-x2.pem /etc/ssl/certs/ISRG_ROOT_X2.pem
17+ RUN chmod 644 /etc/ssl/certs/ISRG_ROOT_X2.pem && update-ca-certificates
18+
1519COPY Gemfile* ./
1620RUN bundle config set --local without 'development test' && \
1721 bundle install -j"$(nproc)"
@@ -41,10 +45,11 @@ ENV RAILS_ENV=production \
4145
4246RUN apt update && \
4347 apt install -y postgresql-client imagemagick libproj-dev proj-bin libjemalloc2 && \
48+ apt upgrade ca-certificates && \
4449 gem install bundler:2.4.9
4550
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
51+ ADD https://letsencrypt.org/certs/isrg-root-x2.pem /etc/ssl/certs/ISRG_ROOT_X2 .pem
52+ RUN chmod 644 /etc/ssl/certs/ISRG_ROOT_X2 .pem && update-ca-certificates
4853
4954WORKDIR /app
5055
You can’t perform that action at this time.
0 commit comments