Browse files

Update Dockerfile and Snap build to reflect move to dep

See #3988
  • Loading branch information...
bep committed Oct 21, 2017
1 parent 30e471b commit 9ccc958ce7d563fe344c310da37284548ac3a70a
Showing with 3 additions and 4 deletions.
  1. +2 −3 Dockerfile
  2. +1 −1 snapcraft.yaml
@@ -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
RUN go get
ADD vendor/vendor.json /go/src/
WORKDIR /go/src/
RUN govendor sync
RUN dep ensure
ADD . /go/src/
RUN go install -ldflags '-s -w'
@@ -31,7 +31,7 @@ parts:
go get
mage vendor
mage test
rm -f $GOPATH/bin/govendor
rm -f $GOPATH/bin/dep
rm -f $GOPATH/bin/mage
install: |
strip --remove-section=.comment --remove-section=.note $SNAPCRAFT_PART_INSTALL/bin/hugo

0 comments on commit 9ccc958

Please sign in to comment.