1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00

create dagger

This commit is contained in:
Nebel 2022-04-24 19:24:37 +09:00
parent 7c856c889f
commit c306eb6883
4 changed files with 26 additions and 0 deletions

1
dagger/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
cue.mod

1
dagger/Dockerfile Normal file
View file

@ -0,0 +1 @@
FROM alpine

24
dagger/app.cue Normal file
View file

@ -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
}
}
}

View file