add kubeconform
This commit is contained in:
parent
4f3f2ed30b
commit
b24b3b763c
3 changed files with 14 additions and 4 deletions
|
@ -4,8 +4,8 @@ from pybuilder.core import task, init
|
|||
from ddadevops import *
|
||||
import logging
|
||||
|
||||
name = 'shadow-cljs'
|
||||
MODULE = 'shadow-cljs'
|
||||
name = 'lein'
|
||||
MODULE = 'lein'
|
||||
PROJECT_ROOT_PATH = '../..'
|
||||
|
||||
|
||||
|
|
1
infrastructure/lein/image/resources/CHECKSUMS
Normal file
1
infrastructure/lein/image/resources/CHECKSUMS
Normal file
|
@ -0,0 +1 @@
|
|||
d7a5cb848b783c15119316d716d8a74bf11c9e3ab050f3adf28e0678a6018467 kubeconform.tar.gz
|
|
@ -2,9 +2,18 @@
|
|||
set -eux
|
||||
|
||||
function main() {
|
||||
upgradeSystem
|
||||
|
||||
mkdir -p /usr/share/man/man1
|
||||
apt update && apt -qqy install openjdk-11-jre-headless
|
||||
npm install -g --save-dev shadow-cljs
|
||||
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
|
||||
|
||||
cleanupDocker
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue