-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP: use native goreleaser instead of docker version * Add goreleaser to bundle * use buildx * Goreleaser config * Fix config * Fix docker build
- Loading branch information
1 parent
bafc369
commit b695216
Showing
4 changed files
with
20 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
brew "go" | ||
brew "cmake" | ||
brew "pkg-config" | ||
brew "sqlite" | ||
brew "protobuf" | ||
brew 'go' | ||
brew 'cmake' | ||
brew 'pkg-config' | ||
brew 'sqlite' | ||
brew 'protobuf' | ||
brew 'FiloSottile/musl-cross/musl-cross' | ||
brew 'goreleaser/tap/goreleaser' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# https://goreleaser.com/docker/ | ||
|
||
ARG BINARY=flipt | ||
ARG ALPINE_VERSION=3.10.9 | ||
|
||
FROM alpine:3.10 | ||
FROM alpine:${ALPINE_VERSION} | ||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.name="flipt" | ||
LABEL org.opencontainers.image.source="https://github.com/markphelps/flipt" | ||
|
@@ -21,7 +22,4 @@ COPY config/*.yml /etc/flipt/config/ | |
EXPOSE 8080 | ||
EXPOSE 9000 | ||
|
||
# Docker exposes container ports to the IP address 0.0.0.0 | ||
ENV FLIPT_SERVER_HOST 0.0.0.0 | ||
|
||
CMD ["./flipt"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters