github.com/jamescostian/go-swagger@v0.30.4-0.20221130163922-68364d6b567b/Dockerfile.alpine.ci (about)

     1  FROM golang:alpine
     2  
     3  ENV GOCOVMODE atomic
     4  
     5  RUN apk add -U --no-cache bash tar gzip xz procps git curl alpine-sdk libffi-dev rpm dpkg openssh-client ncurses py3-pip &&\
     6    pip install --upgrade cloudsmith-cli &&\
     7    curl -sSL https://download.docker.com/linux/static/stable/x86_64/docker-20.10.12.tgz | tar -C /usr/bin --strip-components=1 -xzf -
     8  
     9  RUN set -e -x \
    10    && mkdir -p /usr/share/coverage /usr/share/testresults /usr/share/dist \
    11    && go install golang.org/x/tools/cmd/...@latest \
    12    && go install github.com/axw/gocov/gocov@latest \
    13    && go install github.com/matm/gocov-html@latest \
    14    && go install github.com/cee-dub/go-junit-report@latest \
    15    && go install github.com/aktau/github-release@latest \
    16    && go install github.com/mitchellh/gox@latest \
    17    && go install gotest.tools/gotestsum@latest \
    18    && go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
    19  
    20  VOLUME /usr/share/coverage
    21  VOLUME /usr/share/testresults
    22  VOLUME /usr/share/dist