Merge pull request #3379 from DrDynamic/ca-certificates

add ca-certificates
This commit is contained in:
Shao Yu-Lung (Allen) 2023-04-28 23:31:45 +08:00 committed by GitHub
commit a7600e844e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View File

@ -2525,6 +2525,13 @@ docker-compose up ...
*Note: If you faced any errors, try restarting Docker, and make sure you have no spaces in the `d4m-nfs-mounts.txt` file, and your `/etc/exports` file is clear.*
<br>
<a name="ca-certificates"></a>
## ca-certificates
To install your own CA certificates, you can add them to the `workspace/ca-certificates` folder.
This way the certificates will be installed into the system ca store of the workspace container.
<br>
<a name="upgrade-laradock"></a>

View File

@ -198,6 +198,15 @@ COPY ./crontab /etc/cron.d
RUN chmod -R 644 /etc/cron.d
###########################################################################
# Certificate Authorities
###########################################################################
USER root
COPY ./ca-certificates/* /usr/local/share/ca-certificates/
RUN update-ca-certificates
###########################################################################
# Drush:
###########################################################################

View File