Skip to content

Commit

Permalink
Dockerfile-test: add test image with Go 1.9
Browse files Browse the repository at this point in the history
Not to be blocked on Go 1.9 migration by CIs
(e.g. Semaphore CI not supporting Go 1.9).

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Sep 7, 2017
1 parent 3c18456 commit 90b247f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Dockerfile-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM golang:1.9-stretch

RUN apt-get -y update
RUN apt-get -y install \
libpcap-dev \
libaspell-dev \
libhunspell-dev \
shellcheck

RUN mkdir -p ${GOPATH}/src/github.com/coreos/etcd
WORKDIR ${GOPATH}/src/github.com/coreos/etcd

ADD ./scripts/install-marker.sh ./scripts/install-marker.sh

RUN go get -v -u github.com/chzchzchz/goword \
&& go get -v -u github.com/coreos/license-bill-of-materials \
&& go get -v -u honnef.co/go/tools/cmd/gosimple \
&& go get -v -u honnef.co/go/tools/cmd/unused \
&& go get -v -u honnef.co/go/tools/cmd/staticcheck \
&& ./scripts/install-marker.sh amd64

0 comments on commit 90b247f

Please sign in to comment.