diff --git a/frontend/dockerfile/dockerfile2llb/convert.go b/frontend/dockerfile/dockerfile2llb/convert.go index 419796b4..b19c8951 100644 --- a/frontend/dockerfile/dockerfile2llb/convert.go +++ b/frontend/dockerfile/dockerfile2llb/convert.go @@ -1284,7 +1284,7 @@ func prefixCommand(ds *dispatchState, str string, prefixPlatform bool, platform } func useFileOp(args map[string]string, caps *apicaps.CapSet) bool { - enabled := fileOpEnabled + enabled := true if v, ok := args["BUILDKIT_USE_FILEOP"]; ok { if b, err := strconv.ParseBool(v); err == nil { enabled = b diff --git a/frontend/dockerfile/dockerfile2llb/convert_fileop.go b/frontend/dockerfile/dockerfile2llb/convert_fileop.go deleted file mode 100644 index 9c8abc7c..00000000 --- a/frontend/dockerfile/dockerfile2llb/convert_fileop.go +++ /dev/null @@ -1,5 +0,0 @@ -// +build fileop - -package dockerfile2llb - -const fileOpEnabled = true diff --git a/frontend/dockerfile/dockerfile2llb/convert_nofileop.go b/frontend/dockerfile/dockerfile2llb/convert_nofileop.go deleted file mode 100644 index f8f7582b..00000000 --- a/frontend/dockerfile/dockerfile2llb/convert_nofileop.go +++ /dev/null @@ -1,5 +0,0 @@ -// +build !fileop - -package dockerfile2llb - -const fileOpEnabled = false