diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-07 20:45:31 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-15 10:10:57 +0900 |
commit | e64870d816ebf8cf556c06ab1f5e70f1ec74a232 (patch) | |
tree | 2fabccddbecd749aacbc8c7ce32cb086be15331a /.goreleaser.yml | |
parent | dae80bd84b3e504a7e45a4a20631c8056047281e (diff) |
fix goreleaser to build static binaries
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.goreleaser.yml')
-rw-r--r-- | .goreleaser.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml index 7ec89d72..91690068 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,6 +4,7 @@ builds: - main: ./cmd/gobgp/ binary: gobgp + ldflags: -s -extldflags "-static" goos: - linux goarch: @@ -14,6 +15,7 @@ builds: - main: ./cmd/gobgpd/ binary: gobgpd + ldflags: -s -extldflags "-static" goos: - linux goarch: |