Skip to content
Snippets Groups Projects
Commit b739b6c7 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Fixes email and charset error, closes #44

parent 282749c9
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y \ ...@@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y \
sed -i 's/error_log.*/error_log \/dev\/stdout info;/g' /etc/nginx/nginx.conf && \ sed -i 's/error_log.*/error_log \/dev\/stdout info;/g' /etc/nginx/nginx.conf && \
sed -i 's/^pid/daemon off;\npid/g' /etc/nginx/nginx.conf && \ sed -i 's/^pid/daemon off;\npid/g' /etc/nginx/nginx.conf && \
sed -i "s/.*sendmail_path.*/sendmail_path = \/usr\/sbin\/ssmtp -t/g" /etc/php5/fpm/php.ini && \ sed -i "s/.*sendmail_path.*/sendmail_path = \/usr\/sbin\/ssmtp -t/g" /etc/php5/fpm/php.ini && \
sed -i 's/;default_charset.*/default_charset = "UTF-8"/g' /etc/php5/fpm/php.ini && \
sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php5/fpm/php.ini sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php5/fpm/php.ini
ADD basic.conf /etc/nginx/conf.d/basic.conf ADD basic.conf /etc/nginx/conf.d/basic.conf
......
...@@ -5,8 +5,7 @@ RUN echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community ...@@ -5,8 +5,7 @@ RUN echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community
curl -L http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key | apt-key add - && \ curl -L http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key | apt-key add - && \
apt-get update && apt-get install -y \ apt-get update && apt-get install -y \
owncloud \ owncloud \
php5-imap \ php5-imap && \
sendmail && \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
libreoffice && \ libreoffice && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment