From 005f6b11611debc369df2d2cbdbe0f674dbbd24a Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 16 May 2019 11:57:01 +1000 Subject: [PATCH] sbin/init needs to be executable by www-data --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5f3d3c2..9eb42cb 100755 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,6 @@ RUN docker-php-ext-install -j$(nproc) pdo_mysql pdo_pgsql ldap gettext RUN curl https://getcomposer.org/installer|php -- --install-dir=/usr/local/bin --filename=composer COPY init /sbin +RUN chmod 550 /sbin/init && chown 0:33 /sbin/init ENTRYPOINT [ "/sbin/init" ] CMD [ "php-fpm" ]