mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Add benchmark for containerized KRM function in kustomize
This commit is contained in:
15
hack/krmFunctionBenchmark/label_namespace/execfn/Dockerfile
Normal file
15
hack/krmFunctionBenchmark/label_namespace/execfn/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ENV BUILD_HOME=/usr/local/build
|
||||
RUN apk update && apk add --no-cache git nodejs npm
|
||||
RUN npm install -g typescript
|
||||
|
||||
RUN mkdir -p $BUILD_HOME
|
||||
|
||||
WORKDIR $BUILD_HOME
|
||||
|
||||
RUN git clone https://github.com/GoogleContainerTools/kpt-functions-sdk.git .
|
||||
RUN git checkout tags/release-kpt-functions-v0.14.2
|
||||
WORKDIR $BUILD_HOME/ts/hello-world/
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
Reference in New Issue
Block a user