Compare commits

..

No commits in common. "b5c4f8fbc06ff7a5be8cc1b740a9d6e5a692de24" and "fe18d27f18cf13c24b6422a5f81ef6eace902004" have entirely different histories.

View file

@ -6,7 +6,7 @@ MAINTAINER Glenn ROLLAND <glenux@glenux.net>
RUN apt-get update \ RUN apt-get update \
&& apt-cache search lib mysql dev$ \ && apt-cache search lib mysql dev$ \
&& apt-get install -y \ && apt-get install -y \
unzip curl \ wget unzip curl \
libfreetype6-dev \ libfreetype6-dev \
libicu-dev \ libicu-dev \
libjpeg62-turbo-dev \ libjpeg62-turbo-dev \
@ -28,22 +28,19 @@ RUN apt-get update \
&& docker-php-ext-install imap \ && docker-php-ext-install imap \
&& docker-php-ext-install zip && docker-php-ext-install zip
COPY php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini ADD php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini
COPY php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini ADD php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini
COPY php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini ADD php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini
RUN curl -sS https://getcomposer.org/installer \ RUN curl -sS https://getcomposer.org/installer \
| php -- --install-dir=/usr/local/bin --filename=composer | php -- --install-dir=/usr/local/bin --filename=composer
ENV DOLIBARR_VERSION=19.0.1 ENV DOLIBARR_VERSION=18.0.4
# ENV DOLIBARR_VERSION=18.0.4
# ENV DOLIBARR_VERSION=17.0.2 # ENV DOLIBARR_VERSION=17.0.2
# ENV DOLIBARR_VERSION=16.0.4 # ENV DOLIBARR_VERSION=16.0.4
# https://github.com/Dolibarr/dolibarr/archive/${DOLIBARR_VERSION}.zip RUN wget -q \
# https://freefr.dl.sourceforge.net/project/dolibarr/Dolibarr%20ERP-CRM/${DOLIBARR_VERSION}/dolibarr-${DOLIBARR_VERSION}.zip -O /tmp/dolibarr-${DOLIBARR_VERSION}.zip \
RUN curl -sS \ https://github.com/Dolibarr/dolibarr/archive/${DOLIBARR_VERSION}.zip
https://freefr.dl.sourceforge.net/project/dolibarr/Dolibarr%20ERP-CRM/${DOLIBARR_VERSION}/dolibarr-${DOLIBARR_VERSION}.zip \
-o /tmp/dolibarr-${DOLIBARR_VERSION}.zip
RUN unzip -q -d /usr/src /tmp/dolibarr-${DOLIBARR_VERSION}.zip \ RUN unzip -q -d /usr/src /tmp/dolibarr-${DOLIBARR_VERSION}.zip \
&& chown -R www-data:www-data /usr/src/dolibarr-${DOLIBARR_VERSION} \ && chown -R www-data:www-data /usr/src/dolibarr-${DOLIBARR_VERSION} \
@ -62,5 +59,5 @@ RUN sed \
/etc/apache2/sites-enabled/000-default.conf /etc/apache2/sites-enabled/000-default.conf
CMD ["apache2-foreground"] CMD apache2-foreground