File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,16 @@ install-root-certificate: rootca.crt ## installs a certificate in the host syste
6666 echo " Is the DOCKER service ready? press when ready" && read -n 1; \
6767 fi ; \
6868 echo " ======================================" ; ,\
69- sudo cp $< /etc/ca-certificates/trust-source/anchors/osparc.crt; \
70- sudo trust extract-compat && \
71- echo " # restarting docker daemon" && \
69+ $(if $(IS_OSX ) , \
70+ sudo security add-trusted-cert -d -k /Library/Keychains/System.keychain $< ; \
71+ echo " Please restart the DOCKER service now..." && read -n 1; \
72+ echo " Is the DOCKER service ready? press when ready" && read -n 1; \
73+ , \
74+ sudo cp $< /usr/local/share/ca-certificates/osparc.crt; \
75+ sudo update-ca-certificates -f; \
76+ echo " # restarting docker daemon" ; \
7277 sudo systemctl restart docker \
78+ ) \
7379 )
7480
7581
You can’t perform that action at this time.
0 commit comments