Add benchmark for containerized KRM function in kustomize

This commit is contained in:
Donny Xia
2020-07-01 12:46:16 -07:00
parent c7bc9d2066
commit 6d324d70c4
22 changed files with 256 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#! /bin/bash
IMAGE_LABEL="label_namespace_build:latest"
BUILD_HOME=/usr/local/build
docker build -t $IMAGE_LABEL .
docker run --rm -v $(pwd):/out $IMAGE_LABEL cp -r $BUILD_HOME/ts/hello-world/dist $BUILD_HOME/ts/hello-world/node_modules /out