File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM circleci/golang:1.10
1
+ FROM circleci/golang:1.10.3
2
2
3
3
COPY gometalinter.json /gometalinter.json
4
4
@@ -27,9 +27,10 @@ RUN curl -o google-cloud-sdk.tar.gz ${CLOUD_SDK_URL} \
27
27
&& sudo /google-cloud-sdk/install.sh -q \
28
28
&& sudo /google-cloud-sdk/bin/gcloud components update -q
29
29
30
- RUN go get github. com/golang/dep/cmd/... \
31
- && go get github.com /alecthomas/gometalinter \
30
+ RUN curl https://raw.githubusercontent. com/golang/dep/master/install.sh | sh \
31
+ && go get gopkg.in /alecthomas/gometalinter.v2 \
32
32
&& go get github.com/haya14busa/gosum/cmd/gosumcheck \
33
33
&& go get github.com/TeamMomentum/go-bindata/go-bindata
34
34
35
+ RUN ln -s /go/bin/gometalinter.v2 /go/bin/gometalinter
35
36
RUN gometalinter --install
Original file line number Diff line number Diff line change 1
- VERSION =1.10.1
1
+ LAST =1.10.3
2
+ VERSION =1.10.3-dep.v5
2
3
REPO =dictav/golang-tools
3
4
4
5
build : Dockerfile
5
6
docker build -t $(REPO ) :$(VERSION ) .
6
- docker tag $(REPO ) :$(VERSION ) $(REPO ) :latest
7
+ docker tag $(REPO ) :$(VERSION ) $(REPO ) :$( LAST )
7
8
8
9
push :
9
10
docker push $(REPO ) :$(VERSION )
10
- docker push $(REPO ) :latest
11
+ docker push $(REPO ) :$( LAST )
11
12
You can’t perform that action at this time.
0 commit comments