Various fixes and updates

This commit is contained in:
Ric Harvey
2016-01-17 22:35:36 +00:00
parent a788d25a96
commit cc2ff25052
2 changed files with 10 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:14.04.2
FROM ubuntu:14.04.3
MAINTAINER Ric Harvey <ric@ngineered.co.uk>
# Surpress Upstart errors/warning
@@ -51,10 +51,7 @@ RUN sed -i -e "s/;listen.mode = 0660/listen.mode = 0750/g" /etc/php5/fpm/pool.d/
find /etc/php5/cli/conf.d/ -name "*.ini" -exec sed -i -re 's/^(\s*)#(.*)/\1;\2/g' {} \;
# mycrypt conf
RUN ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
RUN php5enmod mcrypt
RUN service php5-fpm restart
RUN service nginx restart
# nginx site conf
RUN rm -Rf /etc/nginx/conf.d/* && \