mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 02:24:16 -05:00
Merge pull request #46 from Chialab/chore/hide-composer-sudo-warning
Hide Composer warning for commands run as super-user
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.4
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:5.4-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -37,4 +37,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.4-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.5
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:5.5-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -37,4 +37,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.5-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.6
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -37,4 +37,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:5.6-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.0
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:7.0-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -37,4 +37,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.0-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.1
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:7.1-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -37,4 +37,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.1-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.2
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -35,4 +35,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM php:7.2-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -36,4 +36,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:7.2-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -35,4 +35,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
FROM php:latest
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install PHP extensions and PECL modules.
|
||||
RUN buildDeps=" \
|
||||
@@ -35,4 +35,4 @@ RUN buildDeps=" \
|
||||
# Install Composer.
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& ln -s $(composer config --global home) /root/composer
|
||||
ENV PATH $PATH:/root/composer/vendor/bin
|
||||
ENV PATH=$PATH:/root/composer/vendor/bin COMPOSER_ALLOW_SUPERUSER=1
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.4
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.4.1 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.4-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.4.1 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.4-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.4.1 \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.5
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.5-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.5-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.6
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.6-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:5.6-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug-2.5.5 \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.0
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.0-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.0-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.1
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.1-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.1-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.2
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.2-apache
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:7.2-fpm
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
FROM chialab/php:latest
|
||||
MAINTAINER dev@chialab.it
|
||||
LABEL maintainer="dev@chialab.io"
|
||||
|
||||
# Install XDebug.
|
||||
RUN pecl install xdebug \
|
||||
|
||||
Reference in New Issue
Block a user