Skip to content

Commit f444fc6

Browse files
committed
Build with current CA certs by default
1 parent e900808 commit f444fc6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ RUN apk --no-cache add \
2121
# -------- Setup composer and runtime environment
2222

2323
ADD https://getcomposer.org/download/2.1.5/composer.phar /usr/bin/composer
24+
ADD https://curl.se/ca/cacert.pem /etc/cacert.pem
2425
RUN chmod ugo+rx /usr/bin/composer && \
2526
chmod ugo+r /etc/supervisord.conf && \
2627
mkdir -p /run/nginx /etc/nginx/sites-enabled && \

tpl/usr/local/etc/php/conf.d/docker-vars.ini

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ error_log = /proc/self/fd/2
1010
{{ if .Env.TZ -}}
1111
date.timezone="{{ .Env.TZ }}"
1212
{{- end }}
13+
14+
curl.cainfo = "/etc/cacert.pem"
15+
openssl.cafile = "/etc/cacert.pem"

0 commit comments

Comments
 (0)