dockerfile: make fileop default

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
docker-19.03
Tonis Tiigi 2019-03-10 21:08:51 -07:00
parent c57e5b22ea
commit 637bec7196
3 changed files with 1 additions and 11 deletions

View File

@ -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

View File

@ -1,5 +0,0 @@
// +build fileop
package dockerfile2llb
const fileOpEnabled = true

View File

@ -1,5 +0,0 @@
// +build !fileop
package dockerfile2llb
const fileOpEnabled = false