fix(httpclient): updates certificate authorities (#2930)

This commit is contained in:
Samuel 2021-10-01 21:11:15 +02:00 committed by GitHub
parent 4188951a4d
commit 1b58c671eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -66,5 +66,9 @@ ENV VERSION_CODE=$version_code
# Set executable permission to start file
RUN chmod +x bin/start
# FIXME / to remove / https://github.com/nahi/httpclient/issues/445
RUN cat /etc/ssl/certs/ca-certificates.crt \
>/usr/src/app/vendor/bundle/ruby/2.7.0/gems/httpclient-2.8.3/lib/httpclient/cacert.pem
# Start the application.
CMD ["bin/start"]