aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-10-21 16:41:45 +0200
committerBjørn Erik Pedersen <[email protected]>2017-10-21 19:30:23 +0200
commit9ccc958ce7d563fe344c310da37284548ac3a70a (patch)
treeaa3b252d424299366936bc6c35a5d81cc461219e /Dockerfile
parent30e471b8c66f43b2505ba4a303b5cacb4a5f3af3 (diff)
downloadhugo-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--Dockerfile5
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'