forked from Dolibarr/dolibarr-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
457 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM php:7.0-apache-stretch | ||
|
||
MAINTAINER Garcia MICHEL <[email protected]> | ||
|
||
ENV DOLI_VERSION 10.0.3 | ||
|
||
ENV DOLI_INSTALL_AUTO 1 | ||
|
||
ENV DOLI_DB_HOST mysql | ||
ENV DOLI_DB_USER doli | ||
ENV DOLI_DB_PASSWORD doli_pass | ||
ENV DOLI_DB_NAME dolidb | ||
|
||
ENV DOLI_ADMIN_LOGIN admin | ||
ENV DOLI_ADMIN_PASSWORD admin | ||
ENV DOLI_URL_ROOT 'http://localhost' | ||
ENV DOLI_NOCSRFCHECK 0 | ||
|
||
ENV WWW_USER_ID 33 | ||
ENV WWW_GROUP_ID 33 | ||
|
||
ENV PHP_INI_DATE_TIMEZONE 'UTC' | ||
|
||
RUN apt-get update -q && apt-get upgrade -yq \ | ||
&& apt-get install -yq \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libldap2-dev \ | ||
libxml2-dev \ | ||
mysql-client \ | ||
unzip \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | ||
&& docker-php-ext-install mysqli pdo pdo_mysql gd soap zip \ | ||
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ | ||
&& docker-php-ext-install ldap | ||
|
||
# Get Dolibarr | ||
ADD https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.zip /tmp/dolibarr.zip | ||
RUN unzip -q /tmp/dolibarr.zip -d /tmp/dolibarr | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/htdocs/* /var/www/html/ && ln -s /var/www/html /var/www/htdocs | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/scripts /var/www/ | ||
RUN rm -rf /tmp/dolibarr | ||
|
||
EXPOSE 80 | ||
|
||
COPY docker-run.sh /usr/local/bin/ | ||
ENTRYPOINT ["docker-run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM php:7.1-apache-stretch | ||
|
||
MAINTAINER Garcia MICHEL <[email protected]> | ||
|
||
ENV DOLI_VERSION 10.0.3 | ||
|
||
ENV DOLI_INSTALL_AUTO 1 | ||
|
||
ENV DOLI_DB_HOST mysql | ||
ENV DOLI_DB_USER doli | ||
ENV DOLI_DB_PASSWORD doli_pass | ||
ENV DOLI_DB_NAME dolidb | ||
|
||
ENV DOLI_ADMIN_LOGIN admin | ||
ENV DOLI_ADMIN_PASSWORD admin | ||
ENV DOLI_URL_ROOT 'http://localhost' | ||
ENV DOLI_NOCSRFCHECK 0 | ||
|
||
ENV WWW_USER_ID 33 | ||
ENV WWW_GROUP_ID 33 | ||
|
||
ENV PHP_INI_DATE_TIMEZONE 'UTC' | ||
|
||
RUN apt-get update -q && apt-get upgrade -yq \ | ||
&& apt-get install -yq \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libldap2-dev \ | ||
libxml2-dev \ | ||
mysql-client \ | ||
unzip \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | ||
&& docker-php-ext-install mysqli pdo pdo_mysql gd soap zip \ | ||
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ | ||
&& docker-php-ext-install ldap | ||
|
||
# Get Dolibarr | ||
ADD https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.zip /tmp/dolibarr.zip | ||
RUN unzip -q /tmp/dolibarr.zip -d /tmp/dolibarr | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/htdocs/* /var/www/html/ && ln -s /var/www/html /var/www/htdocs | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/scripts /var/www/ | ||
RUN rm -rf /tmp/dolibarr | ||
|
||
EXPOSE 80 | ||
|
||
COPY docker-run.sh /usr/local/bin/ | ||
ENTRYPOINT ["docker-run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM php:5.6-apache-stretch | ||
|
||
MAINTAINER Garcia MICHEL <[email protected]> | ||
|
||
ENV DOLI_VERSION 10.0.3 | ||
|
||
ENV DOLI_INSTALL_AUTO 1 | ||
|
||
ENV DOLI_DB_HOST mysql | ||
ENV DOLI_DB_USER doli | ||
ENV DOLI_DB_PASSWORD doli_pass | ||
ENV DOLI_DB_NAME dolidb | ||
|
||
ENV DOLI_ADMIN_LOGIN admin | ||
ENV DOLI_ADMIN_PASSWORD admin | ||
ENV DOLI_URL_ROOT 'http://localhost' | ||
ENV DOLI_NOCSRFCHECK 0 | ||
|
||
ENV WWW_USER_ID 33 | ||
ENV WWW_GROUP_ID 33 | ||
|
||
ENV PHP_INI_DATE_TIMEZONE 'UTC' | ||
|
||
RUN apt-get update -q && apt-get upgrade -yq \ | ||
&& apt-get install -yq \ | ||
libpng-dev \ | ||
libjpeg-dev \ | ||
libldap2-dev \ | ||
libxml2-dev \ | ||
mysql-client \ | ||
unzip \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ | ||
&& docker-php-ext-install mysqli pdo pdo_mysql gd soap zip \ | ||
&& docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ | ||
&& docker-php-ext-install ldap | ||
|
||
# Get Dolibarr | ||
ADD https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.zip /tmp/dolibarr.zip | ||
RUN unzip -q /tmp/dolibarr.zip -d /tmp/dolibarr | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/htdocs/* /var/www/html/ && ln -s /var/www/html /var/www/htdocs | ||
RUN cp -r /tmp/dolibarr/dolibarr-${DOLI_VERSION}/scripts /var/www/ | ||
RUN rm -rf /tmp/dolibarr | ||
|
||
EXPOSE 80 | ||
|
||
COPY docker-run.sh /usr/local/bin/ | ||
ENTRYPOINT ["docker-run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM php:7.0-apache-stretch | |
|
||
MAINTAINER Garcia MICHEL <[email protected]> | ||
|
||
ENV DOLI_VERSION 9.0.0 | ||
ENV DOLI_VERSION 9.0.4 | ||
|
||
ENV DOLI_INSTALL_AUTO 1 | ||
|
||
|
Oops, something went wrong.