added docker templating and introducted possbility to change the baseimage name
This commit is contained in:
@@ -10,6 +10,7 @@ var (
|
||||
ViewImages string
|
||||
CreateVM string
|
||||
ContainerName string
|
||||
BaseImage string
|
||||
Ports string
|
||||
Server bool
|
||||
RemoveVM string
|
||||
@@ -89,6 +90,13 @@ var AppConfigFlags = []cli.Flag{
|
||||
EnvVars: []string{"CONTAINER_NAME"},
|
||||
Destination: &ContainerName,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "BaseImage",
|
||||
Aliases: []string{"bi"},
|
||||
Usage: "Specifying the docker base image to template the dockerfile",
|
||||
EnvVars: []string{"CONTAINER_NAME"},
|
||||
Destination: &BaseImage,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "RemoveVM",
|
||||
Aliases: []string{"rm"},
|
||||
|
||||
Reference in New Issue
Block a user