From 1be19d8d4bcac6c0c7fca41408dbf93ae49a1ee9 Mon Sep 17 00:00:00 2001 From: Jon Busby Date: Sun, 18 Oct 2015 09:12:05 +0100 Subject: [PATCH] Updating permissions after install packages --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index f41a442..3fb3b49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,6 +67,9 @@ extension=xsl.so\n\ # Install Composer RUN curl --silent --location "https://lang-php.s3.amazonaws.com/dist-cedar-14-master/composer.tar.gz?version=1.0.0-alpha10" | tar xz -C /app/.heroku/php +# Adjust the file permissions in /app/.heroku/php +RUN chown nobody:root /app/.heroku/php -R + # copy dep files first so Docker caches the install step if they don't change ONBUILD COPY composer.lock /app/user/ ONBUILD COPY composer.json /app/user/