From 382603d2e3437112b52aac36f0be311b0e804d0d Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Thu, 9 Sep 2021 21:16:27 +0200 Subject: [PATCH] Bump version to 14.0.1 & re-organize for better caching. --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2653dcc..1d45191 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,6 @@ FROM php:7.4-apache-buster # FROM php:7.3-apache-buster MAINTAINER Glenn ROLLAND -# ENV DOLIBARR_VERSION=12.0.1 -ENV DOLIBARR_VERSION=13.0.2 RUN apt-get update \ && apt-cache search lib mysql dev$ \ @@ -26,9 +24,14 @@ RUN apt-get update \ && docker-php-ext-install calendar \ && docker-php-ext-install zip +ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini +ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini +ADD php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini + RUN curl -sS https://getcomposer.org/installer \ | php -- --install-dir=/usr/local/bin --filename=composer +ENV DOLIBARR_VERSION=14.0.1 RUN wget \ -O /tmp/dolibarr-${DOLIBARR_VERSION}.zip \ https://github.com/Dolibarr/dolibarr/archive/${DOLIBARR_VERSION}.zip @@ -38,10 +41,6 @@ RUN unzip -d /usr/src /tmp/dolibarr-${DOLIBARR_VERSION}.zip \ && rm -fr /var/www/html \ && cp -a /usr/src/dolibarr-${DOLIBARR_VERSION} /var/www/html -ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini -ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini -ADD php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini - RUN sed \ -i 's|/var/www/html|/var/www/html/htdocs|' \ /etc/apache2/sites-enabled/000-default.conf