-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue - 472 OpenTrace rebase line with release 1.5.10
- Loading branch information
Showing
128 changed files
with
7,708 additions
and
2,371 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,5 @@ fabio | |
fabio.exe | ||
fabio.sublime-* | ||
demo/cert/ | ||
pkg/ | ||
/pkg/ | ||
dist/ |
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
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,6 +1,22 @@ | ||
FROM scratch | ||
ADD ca-certificates.crt /etc/ssl/certs/ | ||
FROM golang:1.11.1-alpine AS build | ||
|
||
ARG consul_version=1.3.0 | ||
ADD https://releases.hashicorp.com/consul/${consul_version}/consul_${consul_version}_linux_amd64.zip /usr/local/bin | ||
RUN cd /usr/local/bin && unzip consul_${consul_version}_linux_amd64.zip | ||
|
||
ARG vault_version=0.11.4 | ||
ADD https://releases.hashicorp.com/vault/${vault_version}/vault_${vault_version}_linux_amd64.zip /usr/local/bin | ||
RUN cd /usr/local/bin && unzip vault_${vault_version}_linux_amd64.zip | ||
|
||
WORKDIR /go/src/github.com/fabiolb/fabio | ||
COPY . . | ||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go test -ldflags "-s -w" ./... | ||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" | ||
|
||
FROM alpine:3.8 | ||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* | ||
COPY --from=build /go/src/github.com/fabiolb/fabio/fabio /usr/bin | ||
ADD fabio.properties /etc/fabio/fabio.properties | ||
ADD fabio / | ||
EXPOSE 9998 9999 | ||
CMD ["/fabio", "-cfg", "/etc/fabio/fabio.properties"] | ||
ENTRYPOINT ["/usr/bin/fabio"] | ||
CMD ["-cfg", "/etc/fabio/fabio.properties"] |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM alpine:3.8 | ||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* | ||
COPY fabio /usr/bin | ||
ADD fabio.properties /etc/fabio/fabio.properties | ||
EXPOSE 9998 9999 | ||
ENTRYPOINT ["/usr/bin/fabio"] | ||
CMD ["-cfg", "/etc/fabio/fabio.properties"] |
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.