forked from distributedio/titan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d7eb566
Showing
1,198 changed files
with
713,151 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- [ ] zap + rollingwriter | ||
- [ ] unit test | ||
- [ ] auto test | ||
- [ ] ci/cd | ||
- [ ] metrics | ||
- [ ] status/pprof | ||
- [ ] continuous | ||
- [ ] list/zlist | ||
- [ ] strings | ||
- [ ] keys | ||
- [ ] conf | ||
- [ ] gc/expire/zt | ||
- [ ] token |
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,23 @@ | ||
# Builder image | ||
FROM golang:1.10.1-alpine as builder | ||
|
||
RUN apk add --no-cache \ | ||
make \ | ||
git | ||
|
||
COPY . /go/src/gitlab.meitu.com/platform/thanos | ||
|
||
WORKDIR /go/src/gitlab.meitu.com/platform/thanos | ||
|
||
RUN env GOOS=linux CGO_ENABLED=0 go build ./bin/thanos/ | ||
|
||
## Executable image | ||
FROM scratch | ||
|
||
COPY --from=builder /go/src/gitlab.meitu.com/platform/thanos/thanos /thanos | ||
|
||
WORKDIR / | ||
|
||
EXPOSE 6380 | ||
|
||
ENTRYPOINT ["/thanos"] |
Oops, something went wrong.