mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-26 00:42:42 +01:00
docs: fix readme
This commit is contained in:
parent
f72731807d
commit
04e70ce964
@ -29,9 +29,9 @@ fn main() -> eyre::Result<()> {
|
|||||||
let client = dagger_sdk::connect()?;
|
let client = dagger_sdk::connect()?;
|
||||||
|
|
||||||
let version = client
|
let version = client
|
||||||
.container(None)
|
.container()
|
||||||
.from("golang:1.19".into())
|
.from("golang:1.19")
|
||||||
.with_exec(vec!["go".into(), "version".into()], None)
|
.with_exec(vec!["go", "version"])
|
||||||
.stdout()?;
|
.stdout()?;
|
||||||
|
|
||||||
println!("Hello from Dagger and {}", version.trim());
|
println!("Hello from Dagger and {}", version.trim());
|
||||||
|
Loading…
Reference in New Issue
Block a user