Last active
November 10, 2018 10:26
-
-
Save bodsch/4ea55240d7c4b0706d8504eba6b975fc to your computer and use it in GitHub Desktop.
install icingaweb2-module-vspheredb in alpine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apk add php7-phar php7-sockets php7-pcntl | |
cd /usr/bin/ | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('sha384', 'composer-setup.php') === '93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
ln -s composer.phar composer | |
cd /usr/share/webapps/icingaweb2-2.6.1/modules/vspheredb/ | |
composer install |
wenn man die stabilen releases nimmt braucht man den composer zirkus nicht
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hard dependency to fucking systemd :(