mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Fix Dockerfile
This commit is contained in:
1 parent
211d20a3c7
commit
95a473e7ec
1 file changed
+7
-7
+7
-7
@@ -36,14 +36,14 @@ RUN go get github.com/stretchr/testify/assert \
|
|||||||
&& go get github.com/yosssi/ace \
|
&& go get github.com/yosssi/ace \
|
||||||
&& go get github.com/spf13/nitro \
|
&& go get github.com/spf13/nitro \
|
||||||
&& go get github.com/fortytw2/leaktest \
|
&& 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
|
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 cd /go/src/github.com/spf13/hugo \
|
||||||
RUN go get -d -v
|
&& go get -d -v \
|
||||||
RUN go build -o hugo main.go
|
&& go install \
|
||||||
RUN go test github.com/spf13/hugo/...
|
&& go test github.com/spf13/hugo/...
|
||||||
|
|
||||||
Reference in new issue
Block a user