1 Star 0 Fork 9

小北/k3os

forked from rancher/k3os 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile.dapper 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
FROM golang:1.13-alpine
ARG DAPPER_HOST_ARCH
ENV ARCH $DAPPER_HOST_ARCH
RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certificates
RUN go get -d golang.org/x/lint/golint && \
git -C /go/src/golang.org/x/lint/golint checkout -b current 06c8688daad7faa9da5a0c2f163a3d14aac986ca && \
go install golang.org/x/lint/golint && \
rm -rf /go/src /go/pkg
RUN if [ "${ARCH}" == "amd64" ]; then \
curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.27.0; \
fi
RUN go get -d github.com/rancher/trash && \
git -C /go/src/github.com/rancher/trash checkout -b current v0.2.6 && \
go install github.com/rancher/trash && \
rm -rf /go/src /go/pkg
ENV DAPPER_ENV REPO TAG DRONE_TAG
ENV DAPPER_SOURCE /go/src/github.com/rancher/k3os/
ENV DAPPER_OUTPUT ./build ./dist
ENV DAPPER_DOCKER_SOCKET true
ENV TRASH_CACHE ${DAPPER_SOURCE}/.trash-cache
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
ENV GO111MODULE off
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/iaoBeizz/k3os.git
git@gitee.com:iaoBeizz/k3os.git
iaoBeizz
k3os
k3os
master

搜索帮助