6a2bbc62e0
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
21 lines
411 B
CUE
21 lines
411 B
CUE
dagger.#Plan & {
|
|
client: filesystem: "/var/run/docker.sock": read: contents: dagger.#Socket
|
|
|
|
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"]
|
|
}
|
|
}
|
|
}
|
|
}
|