From 55ca55e96e9c65d6449a9fd45d46246281b32240 Mon Sep 17 00:00:00 2001 From: ryzy Date: Fri, 16 Jan 2015 13:40:55 +0000 Subject: [PATCH] composer: owner changed to 'www' This make sense: the tool is used primarily by www user and that user would like to update the tool when necessary. Now `composer selfupdate` by 'www' user works. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 00d7371..8bc8bb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN \ yum install -y --disablerepo=epel php-pecl-redis php-pecl-yaml && \ yum clean all && \ - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer + curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ + chown www /usr/local/bin/composer ADD container-files /