Skip to content

Commit 820417a

Browse files
authored
Merge pull request moby#5245 from ardrabczyk/add-missing-suggestions
dockerfile: add missing mount completions
2 parents add7328 + 45e41c8 commit 820417a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/dockerfile/instructions/commands_runmount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ func parseMount(val string, expander SingleWordExpander) (*Mount, error) {
254254
m.GID = &gid
255255
default:
256256
allKeys := []string{
257-
"type", "from", "source", "target", "readonly", "id", "sharing", "required", "mode", "uid", "gid", "src", "dst", "ro", "rw", "readwrite",
257+
"type", "from", "source", "target", "readonly", "id", "sharing", "required", "size", "mode", "uid", "gid", "src", "dst", "destination", "ro", "rw", "readwrite",
258258
}
259259
return nil, suggest.WrapError(errors.Errorf("unexpected key '%s' in '%s'", key, field), key, allKeys, true)
260260
}

0 commit comments

Comments
 (0)