10 Star 47 Fork 19

Gitee 极速下载/Dragonfly

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/alibaba/Dragonfly
克隆/下载
Dockerfile 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
玉海 提交于 2020-08-10 18:24 . add dfget to supernode dockerfile
FROM golang:1.13.15-alpine as builder
WORKDIR /go/src/github.com/dragonflyoss/Dragonfly
RUN apk --no-cache add bash make gcc libc-dev git
COPY . /go/src/github.com/dragonflyoss/Dragonfly
# make build dfdaemon and dfget.
# write the resulting executable to the dir /opt/dragonfly/df-client.
ARG GOPROXY
RUN make build-client && make install-client
FROM alpine:3.8
RUN apk --no-cache add ca-certificates bash
COPY --from=builder /opt/dragonfly/df-client /opt/dragonfly/df-client
# dfdaemon will listen 65001 in default.
EXPOSE 65001
# use the https://index.docker.io as default registry.
# more cli config see https://github.com/dragonflyoss/Dragonfly/blob/master/docs/cli_reference/dfdaemon.md
# CMD [ "--registry", "https://index.docker.io" ]
ENTRYPOINT [ "/opt/dragonfly/df-client/dfdaemon" ]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/Dragonfly.git
git@gitee.com:mirrors/Dragonfly.git
mirrors
Dragonfly
Dragonfly
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385