From cc7cef4abe76353612e9b4f9669c634f8533d6c1 Mon Sep 17 00:00:00 2001 From: Udo Waechter Date: Sun, 13 Mar 2022 13:25:29 +0100 Subject: [PATCH] php-fpm debian image --- apps/dolibarr/Dockerfile | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/apps/dolibarr/Dockerfile b/apps/dolibarr/Dockerfile index 264c283..2e654a5 100644 --- a/apps/dolibarr/Dockerfile +++ b/apps/dolibarr/Dockerfile @@ -12,25 +12,6 @@ RUN set -ex; \ rsync \ unzip \ zip php-soap;\ - #debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \ - #docker-php-ext-configure ldap --with-libdir="lib/$debMultiarch"; \ - #docker-php-ext-configure gd --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr; \ - #docker-php-ext-configure intl; \ - #docker-php-ext-configure zip --with-libzip; \ - #docker-php-ext-install -j "$(nproc)" \ - # calendar \ - # gd \ - # intl \ - # ldap \ - # mbstring \ - # mysqli \ - # pdo \ - # pdo_mysql \ - # pdo_pgsql \ - # pgsql \ - # soap \ - # zip \ - #; \ mkdir -p /var/www/documents; \ chown -R www-data:root /var/www; \ chmod -R g=u /var/www @@ -100,8 +81,9 @@ RUN set -ex; \ COPY entrypoint.sh / RUN set -ex; \ - chmod 755 /entrypoint.sh - + chmod 755 /entrypoint.sh ;\ + mkdir -p /run/php + ENTRYPOINT ["/entrypoint.sh"] CMD ["php-fpm7.4"]