Make go binaries lighter
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1c55277edf
commit
d4a12f8205
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ steps:
|
|||
- apt-get update && apt-get install -y build-essential git go-bindata
|
||||
- go generate -v
|
||||
- go get -v -d
|
||||
- go build -v -o chldapasswd
|
||||
- go build -v -ldflags="-s -w" -o chldapasswd
|
||||
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue