-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update docs with v1.0.0 changes (#47)
* docs: update docs with v1.0.0 changes Signed-off-by: mbshields <[email protected]> * docs: update What's New for v1.0.0, add SBOM article Signed-off-by: mbshields <[email protected]> * docs: resolve more PR comments Signed-off-by: mbshields <[email protected]> * docs: resolve comments, change zotregistry.io to .dev Signed-off-by: mbshields <[email protected]> --------- Signed-off-by: mbshields <[email protected]>
- Loading branch information
Showing
11 changed files
with
351 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Convert a Dockerfile to stacker yaml | ||
|
||
When moving a project from a docker build environment to a stacker build environment, you can use the [`stacker convert`](../reference/stacker_cli.md#stacker-convert) command to create a stacker yaml file from the existing Dockerfile. | ||
|
||
!!! note | ||
|
||
The conversion is a best-effort process and may not be successful in all cases. | ||
|
||
During the conversion, variables from the Dockerfile may be exported to a substitution file, which can be declared in the `stacker build` command when building the project. | ||
|
||
When invoking the `stacker convert` command, you have the option to specify the input (Dockerfile) filename, an output (stacker) filename, and a name for a substitution file, if such a file is generated by the conversion. Alternatively, you can use the default names provided: | ||
|
||
|
||
| Command option | Abbreviation | Default name | | ||
| --- | --- | --- | | ||
| --docker-file | -i | "Dockerfile" | | ||
| --output-file | -o | "stacker.yaml" | | ||
| --substitute-file | -s | "stacker-subs.yaml" | | ||
|
||
|
||
To execute a conversion, use the following syntax: | ||
|
||
stacker convert [-i <name>] [-o <name>] [-s <name>] | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.