This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests/plan/context/services/unix/main.cue
Richard Jones 2569e76eeb implemented services unix and npipe complete with test
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00

17 lines
329 B
CUE

package main
import (
"alpha.dagger.io/dagger/engine"
"alpha.dagger.io/docker"
)
engine.#Plan & {
context: services: dockerSocket: unix: "/var/run/docker.sock"
actions: nginx: docker.#Run & {
ref: "nginxdemos/nginx-hello"
name: "nginx-hello"
ports: ["8080:8080"]
socket: context.services.dockerSocket.service
}
}