2023-12-07 19:38:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -exo pipefail
|
|
|
|
|
|
|
|
function main() {
|
|
|
|
{
|
2023-12-15 15:11:49 +00:00
|
|
|
#upgradeSystem
|
2023-12-07 19:38:43 +00:00
|
|
|
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
|
2023-12-15 15:11:49 +00:00
|
|
|
#cleanupDocker
|
2023-12-07 19:38:43 +00:00
|
|
|
apk cache clean
|
2023-12-15 15:11:49 +00:00
|
|
|
rm -rf /tmp/*
|
2023-12-07 19:38:43 +00:00
|
|
|
} > /dev/null
|
|
|
|
}
|
|
|
|
|
2023-12-15 15:11:49 +00:00
|
|
|
#source /tmp/install_functions_alpine.sh
|
2023-12-07 19:38:43 +00:00
|
|
|
main
|