2
3
mirror of https://github.com/octoleo/docker-joomla.git synced 2024-11-13 23:44:04 +00:00

#25 | Allow skipping remote database server requirements.

This commit is contained in:
Bradley Weston 2017-07-27 09:56:00 +01:00
parent 6b3b317e26
commit 4fbca103e1
4 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,9 @@
FROM php:7.0-apache FROM php:7.0-apache
MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker) MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker)
# Disable remote database security requirements.
ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1
# Enable Apache Rewrite Module # Enable Apache Rewrite Module
RUN a2enmod rewrite RUN a2enmod rewrite

View File

@ -1,6 +1,9 @@
FROM php:5.6-apache FROM php:5.6-apache
MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker) MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker)
# Disable remote database security requirements.
ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1
# Enable Apache Rewrite Module # Enable Apache Rewrite Module
RUN a2enmod rewrite RUN a2enmod rewrite

View File

@ -1,6 +1,9 @@
FROM php:7.0-fpm FROM php:7.0-fpm
MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker) MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker)
# Disable remote database security requirements.
ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1
# Install PHP extensions # Install PHP extensions
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \

View File

@ -1,6 +1,9 @@
FROM php:5.6-fpm FROM php:5.6-fpm
MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker) MAINTAINER Michael Babker <michael.babker@joomla.org> (@mbabker)
# Disable remote database security requirements.
ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1
# Install PHP extensions # Install PHP extensions
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libmcrypt-dev zip unzip && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \