Update composer version and move installation to automated script
This commit is contained in:
@ -123,10 +123,8 @@ Install custom optimized binaries
|
|||||||
./install_binaries.sh
|
./install_binaries.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Install composer and sodium_compat for v3 hidden_service support
|
Install sodium_compat for v3 hidden_service support
|
||||||
```
|
```
|
||||||
curl -sSL https://github.com/composer/composer/releases/download/1.10.9/composer.phar > /usr/bin/composer && chmod +x /usr/bin/composer
|
|
||||||
composer self-update
|
|
||||||
cd /var/www && composer install
|
cd /var/www && composer install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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
|
# initial repository clones
|
||||||
if [ ! -e libssh2 ]; then
|
if [ ! -e libssh2 ]; then
|
||||||
git clone https://github.com/libssh2/libssh2
|
git clone https://github.com/libssh2/libssh2
|
||||||
|
Reference in New Issue
Block a user