feat: support scratch as the base docker image (#1634)

This commit is contained in:
Kevin Wan
2022-03-11 12:15:38 +08:00
committed by GitHub
parent d6a692971f
commit 26a33932cd
3 changed files with 12 additions and 5 deletions

View File

@@ -341,6 +341,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.IntFlag{
Name: "port",
Usage: "the port to expose, default none",