We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d446bb + 303c53a commit 7a24e43Copy full SHA for 7a24e43
openwhisk-go-simple/README.md
@@ -21,7 +21,7 @@ You will also need to set up your OpenWhisk account credentials using environmen
21
## 2. Compile Go Binary
22
23
```
24
-$ env GOOS=linux GOARCH=amd64 go build handler.go
+$ env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags '-s -w -extldflags "-static"' handler.go
25
26
27
## 3. Deploy
0 commit comments