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 *
|
from ddadevops import *
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
name = 'shadow-cljs'
|
name = 'lein'
|
||||||
MODULE = 'shadow-cljs'
|
MODULE = 'lein'
|
||||||
PROJECT_ROOT_PATH = '../..'
|
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
|
set -eux
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
upgradeSystem
|
||||||
|
|
||||||
mkdir -p /usr/share/man/man1
|
mkdir -p /usr/share/man/man1
|
||||||
apt update && apt -qqy install openjdk-11-jre-headless
|
apt -qqy install openjdk-11-jre-headless leiningen curl
|
||||||
npm install -g --save-dev shadow-cljs
|
|
||||||
|
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
|
cleanupDocker
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue