Symlink native composer home

This commit is contained in:
Filippo Tessarotto
2018-02-23 11:16:38 +01:00
parent 2e4c1ac02b
commit 7144747df8
19 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -32,6 +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_HOME/vendor/bin:$PATH
RUN ln -s $(composer config --global home) /root/composer
ENV PATH /root/composer/vendor/bin:$PATH