Skip to content

Commit

Permalink
Merge pull request #74 from replicatedhq/alpine
Browse files Browse the repository at this point in the history
static build for alpine support
  • Loading branch information
dexhorthy committed Nov 27, 2019
2 parents 2cddcc7 + a2ede98 commit ee43a36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yml
Expand Up @@ -18,11 +18,15 @@ builds:
goarch:
- amd64
- "386"
env:
- CGO_ENABLED=0
main: cli/main.go
ldflags: -s -w
-X github.com/replicatedhq/replicated/pkg/version.version={{.Version}}
-X github.com/replicatedhq/replicated/pkg/version.gitSHA={{.FullCommit}}
-X github.com/replicatedhq/replicated/pkg/version.buildTime={{.Date}}
-extldflags "-static"
flags: -tags netgo -installsuffix netgo
binary: replicated
hooks: {}
archive:
Expand Down

0 comments on commit ee43a36

Please sign in to comment.