use the same go version as production

This commit is contained in:
Terence Lee
2018-05-02 10:47:11 -05:00
parent c10b5df5ed
commit 2c35eddeb2
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
FROM golang
FROM golang:1.9.4
RUN go get -u github.com/golang/dep/cmd/dep
COPY Gopkg.toml Gopkg.lock /go/src/github.com/heroku/herald/
WORKDIR /go/src/github.com/heroku/herald/
COPY Gopkg.toml Gopkg.lock ./
RUN dep ensure --vendor-only
COPY ./ /go/src/github.com/heroku/herald/
COPY ./ ./
RUN go build
+1 -1
View File
@@ -1,5 +1,5 @@
test:
go run cmd/herald-test/main.go
go test
run:
go run cmd/version-scraper/main.go