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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
0 deletions
-
docs/reference/schema.md
-
src/schema/tye-schema.json
|
|
|
@ -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. |
|
|
|
|
|
|
|
@ -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" |
|
|
|
|