代码拉取完成,页面将自动刷新
FROM golang:1.17
ENV GOCOVMODE atomic
RUN apt-get update -qq &&\
apt-get install -yqq tar gzip procps git curl ruby ruby-dev build-essential rpm openssh-client ncurses-term &&\
curl -sSL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar -C /usr/bin --strip-components=1 -xzf - &&\
apt-get clean autoclean &&\
apt-get autoremove --yes &&\
rm -rf /var/lib/{apt,dpkg,cache,log}
RUN set -e -x \
&& mkdir -p /usr/share/coverage /usr/share/testresults /usr/share/dist \
&& go get golang.org/x/tools/cmd/...@latest \
&& go get github.com/axw/gocov/gocov@latest \
&& go get github.com/matm/gocov-html@latest \
&& go get -t github.com/cee-dub/go-junit-report@latest \
&& go get github.com/aktau/github-release@latest \
&& go get github.com/mitchellh/gox@latest \
&& go get -u gotest.tools/gotestsum@latest \
&& gem install --no-document fpm etc \
&& gem sources -c
VOLUME /usr/share/coverage
VOLUME /usr/share/testresults
VOLUME /usr/share/dist
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。