add container build after container sync
Signed-off-by: jason yang <xyang@ciq.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
4a2969f298
commit
4072730172
@@ -25,10 +25,12 @@ uid/gid collision is detected. File ownerships are also changed.`,
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
}
|
||||
write bool
|
||||
build bool
|
||||
)
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().BoolVar(&write, "write", false, "Synchronize uis/gids and write files in container")
|
||||
baseCmd.PersistentFlags().BoolVar(&build, "build", false, "Build container after syncuser is completed")
|
||||
}
|
||||
|
||||
// GetRootCommand returns the root cobra.Command for the application.
|
||||
|
||||
Reference in New Issue
Block a user