This commit is contained in:
parent
b2e9b54245
commit
4e10b5c543
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user