d771699df9
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
21 lines
406 B
CUE
21 lines
406 B
CUE
dagger.#Plan & {
|
|
client: network: "unix:///var/run/docker.sock": connect: dagger.#Socket
|
|
|
|
actions: {
|
|
image: alpine.#Build & {
|
|
packages: "docker-cli": {}
|
|
}
|
|
run: docker.#Run & {
|
|
input: image.output
|
|
mounts: docker: {
|
|
dest: "/var/run/docker.sock"
|
|
contents: client.network."unix:///var/run/docker.sock".connect
|
|
}
|
|
command: {
|
|
name: "docker"
|
|
args: ["info"]
|
|
}
|
|
}
|
|
}
|
|
}
|