import Client, {connect} from "@dagger.io/dagger"
connect(async (client: Client) => {
const ctr = client
.pipeline("test")
.container()
.from("alpine")
.withExec(["apk", "add", "curl"])
.withExec(["curl", "https://dagger.io"])
const result = await ctr.stdout()
console.log(result.substring(0, 300))
})
Develop your pipelines as code, in the same programming language as your application. Choose your SDK and start coding!
Dagger executes your pipelines entirely as standard OCI containers. This has several benefits:
👍 Dagger may be a good fit if you are...
🤚 Dagger may not be a good fit if you are...