Ext updates
This commit is contained in:
parent
77c818ced1
commit
54ea39c70e
|
|
@ -6,7 +6,7 @@ RUN apk update && \
|
|||
rm -rf /var/cache/apk/* /var/log/*
|
||||
|
||||
# Install packages
|
||||
RUN apk add apache2 apache2-proxy shadow composer zip curl
|
||||
RUN apk add apache2 apache2-proxy shadow composer zip curl gd php7-pecl-yaml php7-pecl-memcached php7-gd php7-zip
|
||||
|
||||
# Configure to use php fpm and don't use /var/www to store everything (modules and logs)
|
||||
RUN sed -i 's/LoadModule mpm_prefork_module/#LoadModule mpm_prefork_module/g' /etc/apache2/httpd.conf && \
|
||||
|
|
@ -14,6 +14,8 @@ RUN sed -i 's/LoadModule mpm_prefork_module/#LoadModule mpm_prefork_module/g' /e
|
|||
sed -i 's/#LoadModule rewrite_module/LoadModule rewrite_module/g' /etc/apache2/httpd.conf && \
|
||||
# remove useless module bundled with proxy
|
||||
sed -i 's/LoadModule lbmethod/#LoadModule lbmethod/g' /etc/apache2/conf.d/proxy.conf && \
|
||||
# Enable deflate
|
||||
sed -i 's/#LoadModule deflate_module/LoadModule deflate_module/g' /etc/apache2/httpd.conf && \
|
||||
# change ServerRoot
|
||||
sed -i 's/var\/www\/localhost\/htdocs/var\/www/g' /etc/apache2/httpd.conf && \
|
||||
sed -i 's/ServerRoot \/var\/www/ServerRoot \/usr\/local\/apache/g' /etc/apache2/httpd.conf && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue