Skip to content

Commit

Permalink
Fix git master install on alpine 3.12+
Browse files Browse the repository at this point in the history
With default version 3003.3, you run into saltstack/salt#55159, which was fixed by saltstack/salt#60811
If you want to install from git master, it fails because py2-pip is unavailable - Alpine 3.11 was the last version to include py2-pip
This PR changes the git master process to python3 and adds all requirements for a successful build
  • Loading branch information
Nascire authored and s0undt3ch committed Mar 15, 2022
1 parent f55c2b4 commit 0bd70a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5011,8 +5011,8 @@ install_alpine_linux_git_deps() {
fi
fi
else
apk -U add python2 py2-pip py2-setuptools || return 1
_PY_EXE=python2
apk -U add python3 python3-dev py3-pip py3-setuptools g++ linux-headers zeromq-dev || return 1
_PY_EXE=python3
return 0
fi

Expand Down

0 comments on commit 0bd70a2

Please sign in to comment.