sbin/init needs to be executable by www-data

This commit is contained in:
Deon George 2019-05-16 11:57:01 +10:00
parent 55e8429e75
commit 005f6b1161

View File

@ -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" ]