context to inputs

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones
2021-12-17 12:15:05 -07:00
parent cd9178fec9
commit 009a44ab27
2 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import (
)
engine.#Plan & {
context: services: dockerSocket: unix: "/var/run/docker.sock"
proxy: dockerSocket: unix: "/var/run/docker.sock"
actions: {
image: engine.#Pull & {
@@ -21,7 +21,7 @@ engine.#Plan & {
input: imageWithDocker.output
mounts: docker: {
dest: "/var/run/docker.sock"
contents: context.services.dockerSocket.service
contents: proxy.dockerSocket.service
}
args: ["docker", "info"]
}