1 Star 0 Fork 4

paul008/choerodon-agent

forked from Choerodon/choerodon-agent 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 659 Bytes
一键复制 编辑 原始数据 按行查看 历史
crockitwood 提交于 2018-10-31 15:32 . [IMP]imp cluster agent
FROM golang:1.9.4-alpine3.7 as builder
WORKDIR /go/src/github.com/choerodon/choerodon-cluster-agent
COPY . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build .
FROM registry.cn-hangzhou.aliyuncs.com/choerodon-tools/agent-kubectl:1.9.0
WORKDIR /
RUN apk --no-cache add \
git \
openssh
RUN apk update && apk add curl bash tree tzdata \
&& cp -r -f /usr/share/zoneinfo/Hongkong /etc/localtime \
&& echo -ne "Alpine Linux 3.4 image. (`uname -rsv`)\n" >> /root/.built
COPY ./docker/ssh_config /etc/ssh/ssh_config
COPY --from=builder /go/src/github.com/choerodon/choerodon-cluster-agent/choerodon-cluster-agent .
CMD ["/choerodon-cluster-agent"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/paul008/choerodon-agent.git
git@gitee.com:paul008/choerodon-agent.git
paul008
choerodon-agent
choerodon-agent
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385