mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +00:00
Add compose build flags for file and working dir
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
6bf76eebb1
commit
5258e3d56e
2 changed files with 10 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ func buildCommand() *cobra.Command {
|
|||
return runBuild(cmd.Context(), opts, args)
|
||||
},
|
||||
}
|
||||
buildCmd.Flags().StringVar(&opts.WorkingDir, "workdir", "", "Work dir")
|
||||
buildCmd.Flags().StringArrayVarP(&opts.ConfigPaths, "file", "f", []string{}, "Compose configuration files")
|
||||
|
||||
return buildCmd
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue