diff options
author | Gilbert Gilb's <[email protected]> | 2016-12-28 18:40:36 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-12-28 19:16:12 +0100 |
commit | 95a473e7ecb27f8de12bd1cf2dc210268421e290 (patch) | |
tree | bd395c3ff76b91b1f1d7989320a01b7a9e6494a9 /Dockerfile | |
parent | 211d20a3c742efbfb356859a2556b65705d55f68 (diff) | |
download | hugo-95a473e7ecb27f8de12bd1cf2dc210268421e290.tar.gz hugo-95a473e7ecb27f8de12bd1cf2dc210268421e290.zip |
Fix Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Dockerfile b/Dockerfile index d5a37efc1..e02830212 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,14 +36,14 @@ RUN go get github.com/stretchr/testify/assert \ && go get github.com/yosssi/ace \ && go get github.com/spf13/nitro \ && go get github.com/fortytw2/leaktest \ - && go get github.com/fsnotify/fsnotify + && go get github.com/fsnotify/fsnotify \ + && go get github.com/bep/gitmap \ + && go get github.com/nicksnyder/go-i18n/i18n COPY . /go/src/github.com/spf13/hugo -RUN go get -d -v github.com/spf13/hugo -RUN go install github.com/spf13/hugo -WORKDIR /go/src/github.com/spf13/hugo -RUN go get -d -v -RUN go build -o hugo main.go -RUN go test github.com/spf13/hugo/... +RUN cd /go/src/github.com/spf13/hugo \ + && go get -d -v \ + && go install \ + && go test github.com/spf13/hugo/... |