aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install_deps.sh
diff options
context:
space:
mode:
authorBob Summerwill <bob@summerwill.net>2016-08-09 06:03:30 +0800
committerBob Summerwill <bob@summerwill.net>2016-08-09 07:45:12 +0800
commit2da88203238d3fd7aa17ba182ab95bf0dec3c5d0 (patch)
treef218ab56e535e8315d93e199c98f7cddb09f13c5 /scripts/install_deps.sh
parent539afbeea32fb646e7d0979ee4fb949d914e89bc (diff)
downloaddexon-solidity-2da88203238d3fd7aa17ba182ab95bf0dec3c5d0.tar.gz
dexon-solidity-2da88203238d3fd7aa17ba182ab95bf0dec3c5d0.tar.zst
dexon-solidity-2da88203238d3fd7aa17ba182ab95bf0dec3c5d0.zip
Adding Alpine Linux support to release.sh
Thanks for @rainbean and @VoR0220.
Diffstat (limited to 'scripts/install_deps.sh')
-rwxr-xr-xscripts/install_deps.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh
index bf9bd9b2..bbf28d95 100755
--- a/scripts/install_deps.sh
+++ b/scripts/install_deps.sh
@@ -150,12 +150,14 @@ case $(uname -s) in
Alpine)
#Alpine
echo "Installing solidity dependencies on Alpine Linux."
- echo "ERROR - 'install_deps.sh' doesn't have Alpine Linux support yet."
- echo "See http://solidity.readthedocs.io/en/latest/installing-solidity.html for manual instructions."
- echo "If you would like to get 'install_deps.sh' working for Alpine Linux, that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
- echo "See also https://github.com/ethereum/webthree-umbrella/issues/495 where we are working through Alpine support."
- exit 1
+
+ # All our dependencies can be found in the Alpine Linux official repositories.
+ # See https://pkgs.alpinelinux.org/
+
+ apk update
+ apk upgrade
+ apk add boost-dev build-base cmake jsoncpp-dev
+
;;
#------------------------------------------------------------------------------