Skip to content

Commit

Permalink
Add example buildargs usage
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Surrell <[email protected]>
  • Loading branch information
sirreal committed Feb 12, 2018
1 parent de2b2b5 commit 344c73a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6178,6 +6178,12 @@ paths:
uses the buildargs as the environment context for commands run via the `Dockerfile` RUN
instruction, or for variable expansion in other `Dockerfile` instructions. This is not meant for
passing secret values.
For example, the build arg `FOO=bar` would become `{"FOO":"bar"}` in JSON. This would result in the
the query parameter `buildargs={"FOO":"bar"}`. Note that `{"FOO":"bar"}` should be URI component encoded.
[Read more about the buildargs instruction.](https://docs.docker.com/engine/reference/builder/#arg)
type: "string"
- name: "shmsize"
Expand Down

0 comments on commit 344c73a

Please sign in to comment.