This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 630912c draft dockerfile and kaniko
630912c is described below
commit 630912c99bf3d2749a50d9746a0e24bff9639bc0
Author: Michele Sciabarra <[email protected]>
AuthorDate: Wed Jul 10 19:23:42 2024 +0200
draft dockerfile and kaniko
---
Dockerfile | 3 +++
kaniko.yaml | 26 ++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..bc7ee4f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,3 @@
+FROM ubuntu:22.04
+RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b
/usr/bin
+CMD sleep inf
diff --git a/kaniko.yaml b/kaniko.yaml
new file mode 100644
index 0000000..dcc9150
--- /dev/null
+++ b/kaniko.yaml
@@ -0,0 +1,26 @@
+apiVersion: v1
+kind: Pod
+metadata:
+ name: kaniko
+ namespace: default
+spec:
+ containers:
+ - name: kaniko
+ #image: busybox
+ #command:
+ #- sleep
+ #- inf
+ image: gcr.io/kaniko-project/executor:latest
+ args:
+ - --context=dir:///context/"
+ - --destination=docker-registry:5000/openserverless/operator:latest
+ - --insecure
+ - --insecure-registry=docker-registry
+ volumeMounts:
+ - name: config-volume
+ mountPath: /context
+ restartPolicy: Never
+ volumes:
+ - name: config-volume
+ configMap:
+ name: dockerfile-configmap
\ No newline at end of file