This commit is contained in:
2022-10-30 22:08:30 +01:00
parent 20298898fb
commit a83a28f40d
3 changed files with 4 additions and 6 deletions

View File

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