diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-10-21 16:41:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-10-21 19:30:23 +0200 |
commit | 9ccc958ce7d563fe344c310da37284548ac3a70a (patch) | |
tree | aa3b252d424299366936bc6c35a5d81cc461219e /Dockerfile | |
parent | 30e471b8c66f43b2505ba4a303b5cacb4a5f3af3 (diff) | |
download | hugo-9ccc958ce7d563fe344c310da37284548ac3a70a.tar.gz hugo-9ccc958ce7d563fe344c310da37284548ac3a70a.zip |
Update Dockerfile and Snap build to reflect move to dep
See #3988
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index e0da7d834..889584b61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM golang:1.9.0-alpine3.6 AS build RUN apk add --no-cache --virtual git musl-dev -RUN go get github.com/kardianos/govendor +RUN go get github.com/golang/dep/cmd/dep -ADD vendor/vendor.json /go/src/github.com/gohugoio/hugo/vendor/vendor.json WORKDIR /go/src/github.com/gohugoio/hugo -RUN govendor sync +RUN dep ensure ADD . /go/src/github.com/gohugoio/hugo/ RUN go install -ldflags '-s -w' |