diff --git a/5.4/Dockerfile b/5.4/Dockerfile index 5321008..d90bac5 100644 --- a/5.4/Dockerfile +++ b/5.4/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.4/apache/Dockerfile b/5.4/apache/Dockerfile index ea826d1..8f51056 100644 --- a/5.4/apache/Dockerfile +++ b/5.4/apache/Dockerfile @@ -34,5 +34,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.4/fpm/Dockerfile b/5.4/fpm/Dockerfile index 2da079a..0c3b23d 100644 --- a/5.4/fpm/Dockerfile +++ b/5.4/fpm/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.5/Dockerfile b/5.5/Dockerfile index debf172..dd45887 100644 --- a/5.5/Dockerfile +++ b/5.5/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.5/apache/Dockerfile b/5.5/apache/Dockerfile index 346426d..59cfce3 100644 --- a/5.5/apache/Dockerfile +++ b/5.5/apache/Dockerfile @@ -34,5 +34,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.5/fpm/Dockerfile b/5.5/fpm/Dockerfile index 18f9c79..f40695b 100644 --- a/5.5/fpm/Dockerfile +++ b/5.5/fpm/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.6/Dockerfile b/5.6/Dockerfile index bb55a0d..de14762 100644 --- a/5.6/Dockerfile +++ b/5.6/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.6/apache/Dockerfile b/5.6/apache/Dockerfile index f4fe044..be9817c 100644 --- a/5.6/apache/Dockerfile +++ b/5.6/apache/Dockerfile @@ -34,5 +34,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/5.6/fpm/Dockerfile b/5.6/fpm/Dockerfile index bdba8a7..77ee3bd 100644 --- a/5.6/fpm/Dockerfile +++ b/5.6/fpm/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.0/Dockerfile b/7.0/Dockerfile index 51e2262..921b0cd 100644 --- a/7.0/Dockerfile +++ b/7.0/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.0/apache/Dockerfile b/7.0/apache/Dockerfile index f432c7f..a799c63 100644 --- a/7.0/apache/Dockerfile +++ b/7.0/apache/Dockerfile @@ -34,5 +34,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.0/fpm/Dockerfile b/7.0/fpm/Dockerfile index 0d10a0c..62084d2 100644 --- a/7.0/fpm/Dockerfile +++ b/7.0/fpm/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.1/Dockerfile b/7.1/Dockerfile index 0e62d88..d7d32d0 100644 --- a/7.1/Dockerfile +++ b/7.1/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.1/apache/Dockerfile b/7.1/apache/Dockerfile index 56fe719..1ed97af 100644 --- a/7.1/apache/Dockerfile +++ b/7.1/apache/Dockerfile @@ -34,5 +34,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.1/fpm/Dockerfile b/7.1/fpm/Dockerfile index 31c5cc3..d32a100 100644 --- a/7.1/fpm/Dockerfile +++ b/7.1/fpm/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.2/Dockerfile b/7.2/Dockerfile index 7c2a052..5a4c381 100644 --- a/7.2/Dockerfile +++ b/7.2/Dockerfile @@ -32,5 +32,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.2/apache/Dockerfile b/7.2/apache/Dockerfile index 343e365..58075d1 100644 --- a/7.2/apache/Dockerfile +++ b/7.2/apache/Dockerfile @@ -33,5 +33,6 @@ RUN buildDeps=" \ && a2enmod rewrite # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/7.2/fpm/Dockerfile b/7.2/fpm/Dockerfile index 16857cc..67b0459 100644 --- a/7.2/fpm/Dockerfile +++ b/7.2/fpm/Dockerfile @@ -32,5 +32,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH diff --git a/Dockerfile b/Dockerfile index 23592b3..a610ec1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,5 +32,6 @@ RUN buildDeps=" \ && rm -r /var/lib/apt/lists/* # Install Composer. +ENV COMPOSER_HOME /root/composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -ENV PATH $(composer config --global home)/vendor/bin:$PATH +ENV PATH $COMPOSER_HOME/vendor/bin:$PATH