Ensured all composer-related files are deleted from docker image

This commit is contained in:
Alejandro Celaya 2019-08-16 18:55:35 +02:00
parent 6433a67d52
commit b927e44107

View File

@ -35,7 +35,7 @@ RUN rm -rf ./docker && \
wget https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar && \
php composer.phar install --no-dev --optimize-autoloader --no-progress --no-interaction && \
php composer.phar clear-cache && \
rm composer.phar
rm composer.*
# Add shlink to the path to ease running it after container is created
RUN ln -s /etc/shlink/bin/cli /usr/local/bin/shlink