fix: correct composer installer option --instdir to --install-dir
This commit is contained in:
parent
d8f41e87b4
commit
9775c59996
@ -38,7 +38,7 @@ RUN curl -sS 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb8dc7e5394
|
||||
php8.4-memcached php8.4-pcov php8.4-imagick php8.4-xdebug
|
||||
|
||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
||||
&& php composer-setup.php --instdir=/usr/local/bin --filename=composer \
|
||||
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
|
||||
&& php -r "unlink('composer-setup.php');"
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user