diff --git a/pkg/pipelines/rust-bin.go b/pkg/pipelines/rust-bin.go index a80811c..d310b53 100644 --- a/pkg/pipelines/rust-bin.go +++ b/pkg/pipelines/rust-bin.go @@ -38,7 +38,16 @@ func (p *Pipeline) WithRustBin(opts *RustBinOpts) *Pipeline { byg.Step{ Execute: func(_ byg.Context) error { var err error - c := container.LoadImage(client, "harbor.server.kjuulh.io/docker-proxy/library/rust") + c := container.LoadImage(client, "harbor.server.kjuulh.io/docker-proxy/library/rust:buster") + c = c.Exec(dagger.ContainerExecOpts{ + Args: []string{ + "apt install musl-tools", + }, + }) + if _, err := c.ExitCode(ctx); err != nil { + return err + } + c, err = container.MountCurrent(ctx, client, c, "/src") if err != nil { return err diff --git a/templates/bust_rustbin_default_template.yaml b/templates/bust_rustbin_default_template.yaml index 05e4bc4..025ffcc 100644 --- a/templates/bust_rustbin_default_template.yaml +++ b/templates/bust_rustbin_default_template.yaml @@ -4,7 +4,7 @@ name: "drone-dagger-test" steps: - name: "build" - image: harbor.server.kjuulh.io/kjuulh/bust:1667691698304 + image: harbor.server.kjuulh.io/kjuulh/bust:1667692696139 volumes: - name: dockersock path: /var/run