Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
c4e3e5781c
commit
372b7a2526
@ -45,7 +45,14 @@ impl DaggerMiddleware for DaggerBin {
|
|||||||
.file("/bin/dagger");
|
.file("/bin/dagger");
|
||||||
|
|
||||||
Ok(container
|
Ok(container
|
||||||
.with_file("/bin/dagger", dagger_bin)
|
.with_file_opts(
|
||||||
|
"/bin/dagger",
|
||||||
|
dagger_bin,
|
||||||
|
dagger_sdk::ContainerWithFileOpts {
|
||||||
|
owner: None,
|
||||||
|
permissions: Some(0755),
|
||||||
|
},
|
||||||
|
)
|
||||||
.with_exec(vec!["/bin/dagger", "version"]))
|
.with_exec(vec!["/bin/dagger", "version"]))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user