diff --git a/dagger/.gitignore b/dagger/.gitignore new file mode 100644 index 0000000..3d01718 --- /dev/null +++ b/dagger/.gitignore @@ -0,0 +1 @@ +cue.mod diff --git a/dagger/Dockerfile b/dagger/Dockerfile new file mode 100644 index 0000000..67fd379 --- /dev/null +++ b/dagger/Dockerfile @@ -0,0 +1 @@ +FROM alpine diff --git a/dagger/app.cue b/dagger/app.cue new file mode 100644 index 0000000..5fa4460 --- /dev/null +++ b/dagger/app.cue @@ -0,0 +1,24 @@ +package app + +import ( + "dagger.io/dagger" + "dagger.io/dagger/core" +) + +dagger.#Plan & { + client: { + filesystem: { + ".": read: contents: dagger.#FS + } + } + actions: { + docker: core.#Dockerfile & { + source: client.filesystem.".".read.contents + } + hello: core.#Exec & { + input: docker.output + args: ["echo", "Hello, World!"] + always: true + } + } +} diff --git a/dagger/cue.mod/module.cue b/dagger/cue.mod/module.cue new file mode 100644 index 0000000..e69de29