dda-devops-build/infrastructure/python/image/resources/install.sh

19 lines
589 B
Bash
Raw Normal View History

2023-12-07 19:38:43 +00:00
#!/bin/sh
set -exo pipefail
function main() {
{
apk -U upgrade
apk add --no-cache build-base rust python3 python3-dev py3-pip py3-setuptools py3-wheel libffi-dev openssl-dev cargo bash git curl
python3 -m pip install -U pip
pip3 install pybuilder ddadevops deprecation dda-python-terraform boto3 pyyaml inflection \
coverage flake8 flake8-polyfill mypy mypy-extensions pycodestyle pyflakes pylint pytest pytest-cov pytest-datafiles types-setuptools types-PyYAML
apk cache clean
} > /dev/null
rm -rf /tmp/*
}
main