Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/15.0.3-php7.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/16.0.5-php8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/17.0.4-php8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/18.0.6-php8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/19.0.4-php8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/20.0.4-php8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/21.0.0-php8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down
6 changes: 6 additions & 0 deletions images/develop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ RUN apt-get update -y \
&& mv ${PHP_INI_DIR}/php.ini-production ${PHP_INI_DIR}/php.ini \
&& rm -rf /var/lib/apt/lists/*

# Disable useless Apache modules to provide safe defaults
RUN a2disconf serve-cgi-bin \
&& a2dismod status \
&& a2dismod -f alias \
&& a2dismod -f autoindex

# Get Dolibarr
RUN curl -fLSs https://github.com/Dolibarr/dolibarr/archive/${DOLI_VERSION}.tar.gz |\
tar -C /tmp -xz && \
Expand Down