Update composer version and move installation to automated script

This commit is contained in:
Daniel Winzen
2020-12-23 20:52:30 +01:00
parent 120d8d09fd
commit 7759dc8ca6
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,10 @@
#!/bin/sh
set -e
# install composer
curl -sSL https://github.com/composer/composer/releases/download/2.0.8/composer.phar > /usr/bin/composer && chmod +x /usr/bin/composer
composer self-update
# initial repository clones
if [ ! -e libssh2 ]; then
git clone https://github.com/libssh2/libssh2