From ddfdfc18d10a21e16d00fb1a5e0517f1e3d31c94 Mon Sep 17 00:00:00 2001 From: DanBond Date: Tue, 18 Feb 2020 16:05:52 -0500 Subject: [PATCH] fix docker file for go modules --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f23b3e..319d9f9 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,10 @@ -FROM golang:1.10 as golangBuilder - -RUN curl https://glide.sh/get | sh +FROM golang:1.12 as golangBuilder COPY . /go/src/github.com/jpfielding/gorets WORKDIR /go/src/github.com/jpfielding/gorets -RUN make vendor build-explorer-svc +RUN GO111MODULE="on" make build-explorer-svc # ==============