github.com/AngusLu/go-swagger@v0.28.0/Dockerfile.alpine.ci (about) 1 FROM golang:1.15-alpine 2 3 ENV GOCOVMODE atomic 4 5 RUN apk add -U --no-cache bash tar gzip xz procps git curl ruby ruby-dev alpine-sdk libffi-dev rpm dpkg openssh-client ncurses &&\ 6 curl -sSL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.tgz | tar -C /usr/bin --strip-components=1 -xzf - 7 8 RUN set -e -x \ 9 && mkdir -p /usr/share/coverage /usr/share/testresults /usr/share/dist \ 10 && go get -u golang.org/x/tools/cmd/... \ 11 && go get -u github.com/axw/gocov/gocov \ 12 && go get -u github.com/matm/gocov-html \ 13 && go get -u -t github.com/cee-dub/go-junit-report \ 14 && go get -u github.com/aktau/github-release \ 15 && go get -u github.com/mitchellh/gox \ 16 && gem install --no-document fpm etc \ 17 && gem sources -c 18 19 VOLUME /usr/share/coverage 20 VOLUME /usr/share/testresults 21 VOLUME /usr/share/dist