diff --git a/apache-php7/Dockerfile b/apache-php7/Dockerfile index 9a1f983..660cff3 100755 --- a/apache-php7/Dockerfile +++ b/apache-php7/Dockerfile @@ -1,6 +1,9 @@ FROM php:7.0-apache MAINTAINER Michael Babker (@mbabker) +# Disable remote database security requirements. +ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1 + # Enable Apache Rewrite Module RUN a2enmod rewrite diff --git a/apache/Dockerfile b/apache/Dockerfile index a58b061..16ab5af 100755 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -1,6 +1,9 @@ FROM php:5.6-apache MAINTAINER Michael Babker (@mbabker) +# Disable remote database security requirements. +ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1 + # Enable Apache Rewrite Module RUN a2enmod rewrite diff --git a/fpm-php7/Dockerfile b/fpm-php7/Dockerfile index 4a66e7e..8b25bd7 100755 --- a/fpm-php7/Dockerfile +++ b/fpm-php7/Dockerfile @@ -1,6 +1,9 @@ FROM php:7.0-fpm MAINTAINER Michael Babker (@mbabker) +# Disable remote database security requirements. +ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1 + # 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/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index 8d27cbc..957e611 100755 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -1,6 +1,9 @@ FROM php:5.6-fpm MAINTAINER Michael Babker (@mbabker) +# Disable remote database security requirements. +ENV JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1 + # 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/* \ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \