[NOD-43] Update dockerfile to go1.12 (#195)

This commit is contained in:
Svarog 2019-03-07 15:20:29 +02:00 committed by GitHub
parent 00692a4236
commit a5e304d3ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
# -- multistage docker build: stage #1: build stage
FROM golang:1.11-alpine AS build
FROM golang:1.12-alpine AS build
RUN mkdir -p /go/src/github.com/daglabs/btcd
@ -7,7 +7,7 @@ WORKDIR /go/src/github.com/daglabs/btcd
RUN apk add --no-cache curl git openssh binutils gcc musl-dev
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
RUN go get -u github.com/golang/lint/golint \
RUN go get -u golang.org/x/lint/golint \
github.com/kisielk/errcheck \
github.com/opennota/check/cmd/aligncheck \
github.com/opennota/check/cmd/structcheck \