From 77a037249327f92467b61e8bc3aa99cb28694c28 Mon Sep 17 00:00:00 2001 From: Jasper Spaans Date: Wed, 31 Dec 2014 21:55:32 +0100 Subject: [PATCH 1/2] Install php5-mcrypt as well. Installing php5-mcrypt seems to be required: 4 docker exec ttrss_main tail -n1 /tmp/ttrss-update-daemon.stderr PHP Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/include/crypt.php on line 12 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bf93968..5ca794b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER Christian Lück RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ nginx git supervisor php5-fpm php5-cli php5-curl php5-gd php5-json \ - php5-pgsql php5-mysql && apt-get clean + php5-pgsql php5-mysql php5-mcrypt && apt-get clean # add ttrss as the only nginx site ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss From 1eebbc01847237cae5be3134562334b92c234379 Mon Sep 17 00:00:00 2001 From: Jasper Spaans Date: Wed, 31 Dec 2014 22:37:26 +0100 Subject: [PATCH 2/2] Enable php mcrypt module. Now it works for me --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5ca794b..49fed7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \ nginx git supervisor php5-fpm php5-cli php5-curl php5-gd php5-json \ php5-pgsql php5-mysql php5-mcrypt && apt-get clean +# enable the mcrypt module +RUN php5enmod mcrypt + # add ttrss as the only nginx site ADD ttrss.nginx.conf /etc/nginx/sites-available/ttrss RUN ln -s /etc/nginx/sites-available/ttrss /etc/nginx/sites-enabled/ttrss