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

@@ -8,6 +8,9 @@ PLAYBOOK=${2:?"Playbook must be specified"}
LOG_FILE=${3:-"/dev/null"} LOG_FILE=${3:-"/dev/null"}
ENV_FILE=${4:-"/etc/atl"} ENV_FILE=${4:-"/etc/atl"}
export PATH=/usr/local/bin:$PATH
# Set the environment with default exports # Set the environment with default exports
set -a set -a
source $ENV_FILE source $ENV_FILE

View File

@@ -2,9 +2,18 @@
set -e set -e
./bin/pacapt install --noconfirm \ 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-dev \
python3-pip python3-pip
fi
export PATH=/usr/local/bin:$PATH
pip3 install pipenv pip3 install pipenv
pipenv sync pipenv sync

2561
bin/pacapt

File diff suppressed because it is too large Load Diff