Move snippets outside of markdown
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
20
docs/tests/core-concepts/client/plans/unix.cue
Normal file
20
docs/tests/core-concepts/client/plans/unix.cue
Normal file
@@ -0,0 +1,20 @@
|
||||
dagger.#Plan & {
|
||||
client: filesystem: "/var/run/docker.sock": read: contents: dagger.#Service
|
||||
|
||||
actions: {
|
||||
image: alpine.#Build & {
|
||||
packages: "docker-cli": {}
|
||||
}
|
||||
run: docker.#Run & {
|
||||
input: image.output
|
||||
mounts: docker: {
|
||||
dest: "/var/run/docker.sock"
|
||||
contents: client.filesystem."/var/run/docker.sock".read.contents
|
||||
}
|
||||
command: {
|
||||
name: "docker"
|
||||
args: ["info"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user