Skip to content

Commit 023a4f9

Browse files
committed
docs(dockerfile): minimal Dockerfile version support for chmod
Also adds extra note for non-octal notation being not supported. Signed-off-by: CrazyMax <[email protected]>
1 parent 7cba279 commit 023a4f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/dockerfile/docs/reference.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,12 @@ The latter form is required for paths containing whitespace.
11431143
> translating user and group names to IDs restricts this feature to only be viable
11441144
> for Linux OS-based containers.
11451145
1146+
> **Note**
1147+
>
1148+
> `--chmod` is supported since [Dockerfile 1.3](https://docs.docker.com/build/buildkit/dockerfile-frontend/).
1149+
> Only octal notation is currently supported. Non-octal support is tracked in
1150+
> [moby/buildkit#1951](https://github.com/moby/buildkit/issues/1951).
1151+
11461152
The `ADD` instruction copies new files, directories or remote file URLs from `<src>`
11471153
and adds them to the filesystem of the image at the path `<dest>`.
11481154

0 commit comments

Comments
 (0)