buildkit/frontend/dockerfile/instructions
Sebastiaan van Stijn 5e11c07cc7
frontend/dockerfile: add RunCommand.FlagsUsed field
The FlagsUsed contains a list of flags that were used, which allows the classic
(non-buildkit) builder in dockerd to produce an error when non-supported options
are used in a Dockerfile.

This is a short-term solution; a more permanent solution will be to keep track
of which version of the Dockerfile syntax is supported, and to have the classic
builder pass the maximum supported version of the syntax.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ebed917e43)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-02-04 22:23:25 +01:00
..
bflag.go frontend/dockerfile: add RunCommand.FlagsUsed field 2021-02-04 22:23:25 +01:00
bflag_test.go frontend/dockerfile: add RunCommand.FlagsUsed field 2021-02-04 22:23:25 +01:00
commands.go frontend/dockerfile: add RunCommand.FlagsUsed field 2021-02-04 22:23:25 +01:00
commands_runmount.go dockerfile: update run mounts to stable channel 2020-10-04 22:22:08 -07:00
commands_runnetwork.go Set RunOptions rather than modifying solve state 2019-08-18 21:45:47 +01:00
commands_runsecurity.go Set RunOptions rather than modifying solve state 2019-08-18 21:45:47 +01:00
commands_secrets.go dockerfile: update run mounts to stable channel 2020-10-04 22:22:08 -07:00
commands_ssh.go dockerfile: update run mounts to stable channel 2020-10-04 22:22:08 -07:00
errors_unix.go dockerfile: update imports 2018-06-01 20:10:18 -07:00
errors_windows.go dockerfile: update imports 2018-06-01 20:10:18 -07:00
parse.go frontend/dockerfile: add RunCommand.FlagsUsed field 2021-02-04 22:23:25 +01:00
parse_test.go frontend/dockerfile: add RunCommand.FlagsUsed field 2021-02-04 22:23:25 +01:00
support.go dockerfile: update imports 2018-06-01 20:10:18 -07:00
support_test.go dockerfile: update imports 2018-06-01 20:10:18 -07:00