Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit 622c373

Browse files
author
Sven Speckmaier
committed
deleting composer.phar after install
1 parent fb9ec50 commit 622c373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
55
&& php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
66
&& php composer-setup.php \
77
php -r "unlink('composer-setup.php');" \
8-
&& cd /var/www/app && ./composer.phar install
8+
&& cd /var/www/app && ./composer.phar install && rm composer.phar

0 commit comments

Comments
 (0)