Skip to content

Commit 113fd4d

Browse files
feat: change COMPOSER_HOME
1 parent 3bf2892 commit 113fd4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

php/5.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN apt-get update && \
1717
RUN chmod uga+x /usr/local/bin/install-php-extensions && \
1818
chmod +x /usr/bin/composer
1919

20-
ENV COMPOSER_HOME=/usr/bin/composer
20+
ENV COMPOSER_HOME=/tmp/.composer
2121

2222
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
2323

php/7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN curl -o /tmp/composer-setup.php https://getcomposer.org/installer \
2525

2626
RUN chmod uga+x /usr/local/bin/install-php-extensions
2727

28-
ENV COMPOSER_HOME=/usr/bin/composer
28+
ENV COMPOSER_HOME=/tmp/.composer
2929

3030
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data
3131

0 commit comments

Comments
 (0)