Update pathfinder.Dockerfile
Fixes Dockerfile
This commit is contained in:
parent
5ad6f8b432
commit
d59f51f76c
1 changed files with 8 additions and 9 deletions
|
|
@ -16,7 +16,12 @@ RUN composer install
|
|||
|
||||
FROM trafex/alpine-nginx-php7:ba1dd422
|
||||
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate
|
||||
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql \
|
||||
php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate ca-certificates
|
||||
|
||||
# fix expired DST Cert
|
||||
RUN sed -i '/^mozilla\/DST_Root_CA_X3.crt$/ s/^/!/' /etc/ca-certificates.conf \
|
||||
&& update-ca-certificates
|
||||
|
||||
# symlink nginx logs to stdout/stderr for supervisord
|
||||
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
|
|
@ -31,12 +36,6 @@ COPY static/nginx/site.conf /etc/nginx/templateSite.conf
|
|||
# Configure PHP-FPM
|
||||
COPY static/php/fpm-pool.conf /etc/php7/php-fpm.d/zzz_custom.conf
|
||||
|
||||
# DEBUG
|
||||
RUN apk add php7-xdebug --repository http://dl-3.alpinelinux.org/alpine/edge/testing/
|
||||
COPY static/php/xdebug.ini /etc/php7/conf.d/xdebug.ini
|
||||
COPY static/php/error_reporting.ini /etc/php7/conf.d/error_reporting.ini
|
||||
RUN echo "zend_extension=/usr/lib/php7/modules/xdebug.so" >> /etc/php7/php.ini
|
||||
|
||||
COPY static/php/php.ini /etc/zzz_custom.ini
|
||||
# configure cron
|
||||
COPY static/crontab.txt /var/crontab.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue