Skip to content

Commit b0b60ca

Browse files
committed
added buildvcs goflag to entrypoint'
1 parent 872fe33 commit b0b60ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/base-arm/rootfs/entrypoint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"strings"
1414

1515
"github.com/spf13/cobra"
16-
"gopkg.in/yaml.v2"
1716
)
1817

1918
var rootCmd = &cobra.Command{
@@ -105,6 +104,7 @@ func buildEnvironment(platform string) (map[string]string, error) {
105104
"GOARCH": goarch,
106105
"GOARM": goarm,
107106
"PLATFORM_ID": platformID,
107+
"GOFLAGS": "-buildvcs=false",
108108
}
109109

110110
if err := loadCompilerSettings(goos, arch, env); err != nil {

0 commit comments

Comments
 (0)