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

17 lines
364 B
Bash
Raw Normal View History

2023-08-08 07:04:28 +00:00
#!/bin/bash
2023-12-07 19:38:43 +00:00
set -exo pipefail
2023-08-08 07:04:28 +00:00
function main() {
2023-12-07 19:38:43 +00:00
{
2023-08-08 07:04:28 +00:00
upgradeSystem
2023-12-07 19:38:43 +00:00
apt-get -qqy install curl git kotlin gradle iputils-ping ssh python3 python3-pip
2023-08-08 07:04:28 +00:00
2023-12-07 19:38:43 +00:00
pip3 install pybuilder 'ddadevops>=4.7.0' deprecation dda-python-terraform boto3 pyyaml inflection --break-system-packages
2023-08-08 07:04:28 +00:00
cleanupDocker
2023-12-07 19:38:43 +00:00
} > /dev/null
2023-08-08 07:04:28 +00:00
}
source /tmp/install_functions.sh
main