Browse Source

Add dockerfile build args documentation (#1095)

* Add dockerfile args docs

* Add dockerFileArgs to tye-schema.json
philliphoff-multiplatform
Daniel Reis 5 years ago
committed by GitHub
parent
commit
c04c84f786
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/reference/schema.md
  2. 7
      src/schema/tye-schema.json

4
docs/reference/schema.md

@ -162,6 +162,10 @@ Including `image` marks the service as a *container*:
The Dockerfile to build from. Uses the name of the service as the name of the image. Only supported for `tye run` currently.
#### `dockerFileArgs` (`string[]`)
Build arguments to use when building a Docker image. This is only used when `dockerFile` is specified.
#### `dockerFileContext` (string)
Path to the Dockerfile Context to run docker build against. This is only used when `dockerFile` is specified as well.

7
src/schema/tye-schema.json

@ -383,6 +383,13 @@
"description": "The Dockerfile to use.",
"type": "string"
},
"dockerFileArgs": {
"description": "Build arguments to use when building the image.",
"type": "array",
"items": {
"type": "object"
}
},
"dockerFileContext": {
"description": "The Dockerfile context to run docker build on.",
"type": "string"

Loading…
Cancel
Save