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

36 lines
894 B
Bash
Raw Normal View History

#!/bin/bash
set -eux
function main() {
upgradeSystem
mkdir -p /usr/share/man/man1
apt -qqy install openjdk-17-jre-headless leiningen curl build-essential libz-dev zlib1g-dev
# 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
2021-08-23 14:19:49 +00:00
#install lein
/tmp/lein.sh
2023-07-20 10:14:25 +00:00
#install pyb
apt -qqy install python3 python3-pip git;
python3 -m pip install -U pip;
pip3 install pybuilder 'ddadevops>=4.2.0' deprecation dda-python-terraform boto3 pyyaml inflection;
2023-07-20 10:14:25 +00:00
cleanupDocker
}
source /tmp/install_functions.sh
main