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

17 lines
419 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
pip3 install --break-system-packages pybuilder 'ddadevops>=4.7.0' deprecation dda-python-terraform boto3 pyyaml inflection
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
DEBIAN_FRONTEND=noninteractive DEBCONF_NOWARNINGS=yes main