with musl-tools
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Kasper Juul Hermansen 2022-11-06 00:59:01 +01:00
parent b2e9b54245
commit 4e10b5c543
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 11 additions and 2 deletions

View File

@ -38,7 +38,16 @@ func (p *Pipeline) WithRustBin(opts *RustBinOpts) *Pipeline {
byg.Step{ byg.Step{
Execute: func(_ byg.Context) error { Execute: func(_ byg.Context) error {
var err 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") c, err = container.MountCurrent(ctx, client, c, "/src")
if err != nil { if err != nil {
return err return err

View File

@ -4,7 +4,7 @@ name: "drone-dagger-test"
steps: steps:
- name: "build" - name: "build"
image: harbor.server.kjuulh.io/kjuulh/bust:1667691698304 image: harbor.server.kjuulh.io/kjuulh/bust:1667692696139
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run