dockerfile: make fileop default
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>docker-19.03
parent
c57e5b22ea
commit
637bec7196
|
@ -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
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
// +build fileop
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
const fileOpEnabled = true
|
|
@ -1,5 +0,0 @@
|
|||
// +build !fileop
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
const fileOpEnabled = false
|
Loading…
Reference in New Issue