Dockerfile 694 B

1234567891011121314151617181920212223
  1. FROM golang:1.8.4-stretch
  2. RUN apt-get -y update
  3. RUN apt-get -y install \
  4. netcat \
  5. libaspell-dev \
  6. libhunspell-dev \
  7. hunspell-en-us \
  8. aspell-en \
  9. shellcheck
  10. RUN mkdir -p ${GOPATH}/src/github.com/coreos/etcd
  11. WORKDIR ${GOPATH}/src/github.com/coreos/etcd
  12. ADD ./scripts/install-marker.sh ./scripts/install-marker.sh
  13. RUN go get -v -u -tags spell github.com/chzchzchz/goword \
  14. && go get -v -u github.com/coreos/license-bill-of-materials \
  15. && go get -v -u honnef.co/go/tools/cmd/gosimple \
  16. && go get -v -u honnef.co/go/tools/cmd/unused \
  17. && go get -v -u honnef.co/go/tools/cmd/staticcheck \
  18. && go get -v -u github.com/wadey/gocovmerge \
  19. && ./scripts/install-marker.sh amd64