dda-devops-build/infrastructure/clj-cljs/image/resources/install.sh

32 lines
811 B
Bash
Raw Normal View History

#!/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
# shadow-cljs
npm install -g --save-dev shadow-cljs
2021-08-23 14:19:49 +00:00
# download kubeconform & graalvm
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
cd /tmp
sha256sum --check CHECKSUMS
2021-08-23 14:19:49 +00:00
# install kubeconform
tar -xf /tmp/kubeconform-v0.6.3.tar.gz
cp kubeconform /usr/local/bin
2023-07-20 10:14:25 +00:00
#install pyb
apt -qqy install python3 python3-pip git;
2023-08-17 15:28:01 +00:00
pip3 install pybuilder 'ddadevops>=4.7.0' deprecation dda-python-terraform boto3 pyyaml inflection --break-system-packages;
2023-07-20 10:14:25 +00:00
cleanupDocker
}
source /tmp/install_functions.sh
main