Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Dockerfile: all in on go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Philips committed Jul 31, 2019
1 parent 3204c66 commit ee8508e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ FROM golang:1.12 as build
WORKDIR /go/src/github.com/merklecounty/rget
COPY . .

RUN go get -d -v ./...
ENV GO111MODULE=on
ENV GOFLAGS=-mod=vendor

RUN go test -v ./...
RUN go install -v ./...

Expand Down

0 comments on commit ee8508e

Please sign in to comment.