stdlib: docker: disable local #Run

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-06-07 13:29:42 -07:00
parent ce5accd09c
commit 2acf0ce4e5
2 changed files with 4 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ import (
#Run: {
// Connect to a remote SSH server
ssh?: {
ssh: {
// ssh host
host: string @dagger(input)
@@ -172,9 +172,6 @@ import (
}
}
mount: {
if ssh == _|_ {
"/var/run/docker.sock": "docker.sock"
}
if ssh.key != _|_ {
"/key": secret: ssh.key
}