feat: set user
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-12-30 22:43:53 +01:00
parent 638117e7e9
commit 84626939e7
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -35,10 +35,12 @@ impl DaggerMiddleware for SshAgent {
.contents( .contents(
r#" r#"
Host * Host *
StrictHostKeyChecking no UserKnownHostsFile=/dev/null
UserKnownHostsFile=/dev/null StrictHostKeyChecking no
"#, "#,
) )
.permissions(0700)
.build()?, .build()?,
) )
.with_unix_socket(&sock_var, socket) .with_unix_socket(&sock_var, socket)