From d2faf2396737a4b26429ccc913c18b7b8d549005 Mon Sep 17 00:00:00 2001 From: John Locke Date: Mon, 21 Sep 2015 09:09:17 -0700 Subject: [PATCH] Try adding an explicit /tmp dir creation to work around an aufs bug --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index b18cd08..983fb25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,6 +66,10 @@ RUN chown www-data /etc/ssmtp /etc/ssmtp/ssmtp.conf && \ chmod +x /usr/bin/update_ssmtp.sh /usr/bin/start.sh && \ mkdir -p /var/www +# Work around an aufs bug related to directory permissions: +RUN mkdir -p /tmp && \ + chmod 1777 /tmp + # Internal Port Expose EXPOSE 5000 #USER www-data