2021-08-10 19:29:49 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
function main() {
|
|
|
|
upgradeSystem
|
|
|
|
|
|
|
|
mkdir -p /usr/share/man/man1
|
2023-07-21 15:40:02 +00:00
|
|
|
apt -qqy install openjdk-17-jre-headless leiningen curl
|
2021-08-10 19:29:49 +00:00
|
|
|
|
|
|
|
# shadow-cljs
|
|
|
|
npm install -g --save-dev shadow-cljs
|
|
|
|
|
2021-08-23 14:19:49 +00:00
|
|
|
# download kubeconform & graalvm
|
2023-07-21 06:30:36 +00:00
|
|
|
curl -Lo /tmp/kubeconform-v0.6.3.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.6.3/kubeconform-linux-amd64.tar.gz
|
|
|
|
|
2021-08-23 14:19:49 +00:00
|
|
|
# checksum
|
2021-08-10 19:29:49 +00:00
|
|
|
cd /tmp
|
|
|
|
sha256sum --check CHECKSUMS
|
|
|
|
|
2021-08-23 14:19:49 +00:00
|
|
|
# install kubeconform
|
2023-07-21 06:30:36 +00:00
|
|
|
tar -xf /tmp/kubeconform-v0.6.3.tar.gz
|
2021-08-10 19:29:49 +00:00
|
|
|
cp kubeconform /usr/local/bin
|
|
|
|
|
2023-07-20 10:14:25 +00:00
|
|
|
#install pyb
|
|
|
|
apt -qqy install python3 python3-pip git;
|
2023-07-21 15:40:02 +00:00
|
|
|
pip3 install pybuilder 'ddadevops>=4.2.0' deprecation dda-python-terraform boto3 pyyaml inflection --break-system-packages;
|
2023-07-20 10:14:25 +00:00
|
|
|
|
2021-08-10 19:29:49 +00:00
|
|
|
cleanupDocker
|
|
|
|
}
|
|
|
|
|
|
|
|
source /tmp/install_functions.sh
|
|
|
|
main
|