Prototype: better git-flow

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-04-28 22:27:14 +00:00
parent 629ed2ac25
commit 41f8b53069
3 changed files with 127 additions and 0 deletions

1
.dagger/env/hello-world vendored Symbolic link
View File

@@ -0,0 +1 @@
../../examples/hello-world

21
.dagger/env/sandbox/sandbox.cue vendored Normal file
View File

@@ -0,0 +1,21 @@
package main
import (
"dagger.io/docker"
"dagger.io/io"
)
let ctr = docker.#Container & {
command: "echo 'hello world!' > /etc/motd"
}
motd: (io.#File & {
from: ctr
path: "/etc/motd"
read: format: "string"
}).read.data
etc: (io.#Dir & {
from: ctr
path: "/etc"
}).read.tree