mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-21 18:07:58 +02:00
Merge branch 'master', add examples
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: kbuild-demo
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: init-static
|
||||
image: gcr.io/priya-wadhwa/executor:latest
|
||||
command: ["/work-dir/executor", "--context=kbuild-demo", "--name=gcr.io/priya-wadhwa/kbuild:example", "--dockerfile=/workspace/Dockerfile"]
|
||||
volumeMounts:
|
||||
- name: dockerfile-volume
|
||||
mountPath: /workspace/
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- name: dockerfile-volume
|
||||
configMap:
|
||||
name: dockerfile-config
|
||||
items:
|
||||
- key: Dockerfile
|
||||
path: Dockerfile
|
||||
Reference in New Issue
Block a user