mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
add tags to func BuildDocker
This commit is contained in:
parent
1e95d0eb44
commit
fdf18b7dfa
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ func BuildDocker(binaryName string, buildMode string, projectOptions *ProjectOpt
|
|||
"-v", fmt.Sprintf("%s:/build", filepath.Join(fs.Cwd(), "build")),
|
||||
"-v", fmt.Sprintf("%s:/source", fs.Cwd()),
|
||||
"-e", fmt.Sprintf("LOCAL_USER_ID=%v", userid),
|
||||
"-e", fmt.Sprintf("FLAG_TAGS=\"%s\"", projectOptions.Tags),
|
||||
"-e", fmt.Sprintf("FLAG_LDFLAGS=%s", ldFlags(projectOptions, buildMode)),
|
||||
"-e", "FLAG_V=false",
|
||||
"-e", "FLAG_X=false",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue