From 5a74e1b4342a44a9345db600dc7b35728adca047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E4=BA=AE?= Date: Wed, 21 Jun 2017 16:26:55 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6a11a330..495f4a7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,12 @@ ADD . /go/src/github.com/lifei6671/mindoc WORKDIR /go/src/github.com/lifei6671/mindoc RUN chmod +x start.sh - -RUN go get -d ./... && \ - go get github.com/mitchellh/gox && \ - gox -os "windows linux darwin" -arch amd64 +RUN go get -d ./... +RUN go get github.com/mitchellh/gox +RUN go gox -os "windows linux darwin" -arch amd64 +#RUN go get -d ./... && \ + #go get github.com/mitchellh/gox && \ + #gox -os "windows linux darwin" -arch amd64 -CMD ["./start.sh"] \ No newline at end of file +CMD ["./start.sh"]