Skip to content

Commit 1430424

Browse files
committed
dockerfile: heredoc should use 0644 permissions
Previously, it appears the permissions were 0664, which seems to be a typo of the above - there's no real reason for these permissions to be higher, so we can bring them down to be consistent with everywhere else we create files. Signed-off-by: Justin Chadwell <[email protected]>
1 parent dc706a9 commit 1430424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/dockerfile/dockerfile2llb/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ func dispatchCopy(d *dispatchState, cfg copyConfig) error {
11591159
data := src.Data
11601160
f := src.Path
11611161
st := llb.Scratch().File(
1162-
llb.Mkfile(f, 0664, []byte(data)),
1162+
llb.Mkfile(f, 0644, []byte(data)),
11631163
dockerui.WithInternalName("preparing inline document"),
11641164
)
11651165

0 commit comments

Comments
 (0)