This commit is contained in:
2022-10-30 22:12:09 +01:00
parent a83a28f40d
commit 98a08fc3ef
3 changed files with 4 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ func (p *Pipeline) WithGolangBin(opts *GolangBinOpts) *Pipeline {
c = container.MountFileFromLoaded(c, bin, tempmount)
c = c.Exec(dagger.ContainerExecOpts{
Args: []string{
"ls", "/tmp/bin",
"cp", tempmount, opts.BinName,
},
})
finalImage = c.WithEntrypoint([]string{usrbin})