mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
create dagger
This commit is contained in:
parent
7c856c889f
commit
c306eb6883
4 changed files with 26 additions and 0 deletions
1
dagger/.gitignore
vendored
Normal file
1
dagger/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
cue.mod
|
1
dagger/Dockerfile
Normal file
1
dagger/Dockerfile
Normal file
|
@ -0,0 +1 @@
|
||||||
|
FROM alpine
|
24
dagger/app.cue
Normal file
24
dagger/app.cue
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
0
dagger/cue.mod/module.cue
Normal file
0
dagger/cue.mod/module.cue
Normal file
Loading…
Add table
Reference in a new issue