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

22 lines
462 B
Bash
Raw Normal View History

2021-05-07 16:29:09 +00:00
#!/bin/bash
set -eux
function main() {
2021-05-28 16:04:23 +00:00
upgradeSystem
2021-05-07 16:29:09 +00:00
mkdir -p /usr/share/man/man1
2021-05-28 16:04:23 +00:00
apt -qqy install openjdk-11-jre-headless leiningen curl
curl -Lo /tmp/kubeconform.tar.gz https://github.com/yannh/kubeconform/releases/download/v0.4.7/kubeconform-linux-amd64.tar.gz
cd /tmp
sha256sum --check CHECKSUMS
tar -xf /tmp/kubeconform.tar.gz
cp kubeconform /usr/local/bin
2021-05-07 16:29:09 +00:00
cleanupDocker
}
source /tmp/install_functions.sh
main