feat: support -base to specify base image for goctl docker (#1668)

* feat: support -base to specify base image for goctl docker

* chore: update usage
This commit is contained in:
Kevin Wan
2022-03-20 11:17:55 +08:00
committed by GitHub
parent 194f55e08e
commit d29dfa12e3
3 changed files with 12 additions and 11 deletions

View File

@@ -345,9 +345,10 @@ var commands = []cli.Command{
Name: "go",
Usage: "the file that contains main function",
},
cli.BoolFlag{
Name: "scratch",
Usage: "use scratch for the base docker image",
cli.StringFlag{
Name: "base",
Usage: "the base image to build the docker image, default scratch",
Value: "scratch",
},
cli.IntFlag{
Name: "port",