Unverified Commit fab0a08c authored by Andrew Murray's avatar Andrew Murray Committed by GitHub
Browse files

Merge pull request #458 from radarhere/alpine

Fixed installing cmake and wget on Alpine
parents 666d48ca 1b64317e
...@@ -58,8 +58,12 @@ else ...@@ -58,8 +58,12 @@ else
# centos based distro # centos based distro
yum install -y libtool wget yum install -y libtool wget
elif [ "${MB_PYTHON_VERSION:0:4}" == "pypy" ]; then elif [ "${MB_PYTHON_VERSION:0:4}" == "pypy" ]; then
# centos based distro if [ -n "$IS_ALPINE" ]; then
yum install -y wget apk add wget
else
# centos based distro
yum install -y wget
fi
fi fi
fi fi
......
...@@ -189,7 +189,7 @@ function get_modern_cmake { ...@@ -189,7 +189,7 @@ function get_modern_cmake {
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then
brew install cmake > /dev/null brew install cmake > /dev/null
elif [ -n "$IS_ALPINE" ]; then elif [ -n "$IS_ALPINE" ]; then
apk add cmake apk add cmake > /dev/null
elif [[ $MB_ML_VER == "_2_24" ]]; then elif [[ $MB_ML_VER == "_2_24" ]]; then
# debian:9 based distro # debian:9 based distro
apt-get install -y cmake apt-get install -y cmake
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment