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

17 lines
329 B
CUE
Raw Normal View History

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
}
}