We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5229e19 commit e2188fcCopy full SHA for e2188fc
cli/controller/deploy_functions.go
@@ -67,7 +67,7 @@ func (d *Deploy) localDirs(path string) ([]string, error) {
67
func (d *Deploy) buildFunction(name, funcDir string) error {
68
bl := shell.NewBufferedLogger()
69
err := shell.Exec(shell.ExecOptions{
70
- Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc"},
+ Args: []string{"env", "GOOS=linux", "GOARCH=arm64", "go", "build", "-o", name, "--tags", "lambda.norpc", "--trimpath"},
71
WorkDir: funcDir,
72
Logger: bl.Logger(),
73
ShowExitCode: false,
0 commit comments