Prototype: better git-flow
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
1
.dagger/env/hello-world
vendored
Symbolic link
1
.dagger/env/hello-world
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
../../examples/hello-world
|
21
.dagger/env/sandbox/sandbox.cue
vendored
Normal file
21
.dagger/env/sandbox/sandbox.cue
vendored
Normal 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
|
Reference in New Issue
Block a user