Implement user & hosts for Exec

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
dubo-dubon-duponey
2021-05-11 14:36:57 -07:00
committed by Solomon Hykes
parent 2237b11bc0
commit ca6930bd02
2 changed files with 32 additions and 0 deletions

View File

@@ -52,6 +52,10 @@ package op
// see https://github.com/dagger/dagger/issues/445
// mount: [string]: "tmpfs" | "cache" | {from: _, path: string | *"/"}
mount: [string]: _
// Map of hostnames to ip
hosts?: [string]: string
// User to exec with (if left empty, will default to the set user in the image)
user?: string
}
#DockerLogin: {