spiegel_podman/vendor/github.com/containers/buildah/imagebuildah/build_notlinux.go
Danish Prakash 3b3cb1f958
vendor: update buildah to latest main
Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-02-02 13:14:56 +05:30

20 lines
865 B
Go

//go:build !linux
package imagebuildah
import (
"github.com/containers/buildah/define"
"go.podman.io/storage"
)
// platformSetupContextDirectoryOverlay() should set up an overlay _over_ the
// build context directory, and sort out labeling. Should return the location
// which should be used as the default build context; the process label and
// mount label for the build, if any; a boolean value that indicates whether we
// did, in fact, mount an overlay; and a cleanup function which should be
// called when the location is no longer needed (on success). Returned errors
// should be treated as fatal.
// TODO: currenty a no-op on this platform.
func platformSetupContextDirectoryOverlay(store storage.Store, options *define.BuildOptions) (string, string, string, bool, func(), error) {
return options.ContextDirectory, "", "", false, func() {}, nil
}