DCD-686: Fix some issues with packages on Amazon Linux.

This commit is contained in:
Steve Smith
2019-10-09 13:00:53 +11:00
parent fa20a58aa3
commit 07e97ba35e
3 changed files with 15 additions and 2564 deletions

View File

@@ -2,9 +2,18 @@
set -e
./bin/pacapt install --noconfirm \
python3-dev \
python3-pip
source /etc/os-release
if [[ $ID = "amzn" ]]; then
yum install -y \
python3-devel \
python3-pip
else
apt-get update && \
apt-get install -y \
python3-dev \
python3-pip
fi
export PATH=/usr/local/bin:$PATH
pip3 install pipenv
pipenv sync