1 Star 0 Fork 1

李所当然/thanos

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.e2e-tests 524 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Taking a non-alpine image for e2e tests so that cgo can be enabled for the race detector.
FROM golang:1.21 as builder
WORKDIR $GOPATH/src/github.com/thanos-io/thanos
COPY . $GOPATH/src/github.com/thanos-io/thanos
RUN CGO_ENABLED=1 go build -o $GOBIN/thanos -race ./cmd/thanos
# -----------------------------------------------------------------------------
FROM golang:1.21
LABEL maintainer="The Thanos Authors"
COPY --from=builder $GOBIN/thanos /bin/thanos
ENV GORACE="halt_on_error=1"
ENTRYPOINT [ "/bin/thanos" ]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/lilw1/thanos.git
git@gitee.com:lilw1/thanos.git
lilw1
thanos
thanos
main

搜索帮助