mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
Add benchmark for containerized KRM function in kustomize
This commit is contained in:
8
hack/krmFunctionBenchmark/label_namespace/execfn/build.sh
Executable file
8
hack/krmFunctionBenchmark/label_namespace/execfn/build.sh
Executable 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
|
||||
Reference in New Issue
Block a user