1 Star 0 Fork 16

上海辉星信息科技有限公司/kubeeye

forked from KubeSphere/kubeeye 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 590 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Build the manager binary
FROM golang:1.17 as builder
WORKDIR /workspace
COPY apis/ apis/
COPY client/ client/
COPY cmd/ cmd/
COPY controllers/ controllers/
COPY pkg/ pkg/
COPY plugins/ plugins/
# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
RUN go mod tidy && go mod vendor
ENV CGO_ENABLED=0
# Build
RUN go install -v ./cmd/...
FROM alpine:3.15 as ke-manager
WORKDIR /
COPY --from=builder /go/bin/ke .
COPY --from=builder /go/bin/ke-manager .
RUN addgroup -S kubeeye -g 1000 && adduser -S kubeeye -G kubeeye -u 1000
USER 1000:1000
ENTRYPOINT ["/ke-manager"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/volestar/kubeeye.git
git@gitee.com:volestar/kubeeye.git
volestar
kubeeye
kubeeye
main

搜索帮助