Skip to content

Commit

Permalink
Merge pull request #3379 from DrDynamic/ca-certificates
Browse files Browse the repository at this point in the history
add ca-certificates
  • Loading branch information
bestlong committed Apr 28, 2023
2 parents d6a523e + e36150e commit a7600e8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DOCUMENTATION/content/documentation/index.md
Expand Up @@ -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>
Expand Down
9 changes: 9 additions & 0 deletions workspace/Dockerfile
Expand Up @@ -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:
###########################################################################
Expand Down
Empty file.

0 comments on commit a7600e8

Please sign in to comment.