From 434f3a092d4055e34dfe79205a224f856b038a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E4=BA=AE?= Date: Wed, 21 Jun 2017 16:34:01 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 495f4a7d..e246701d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,12 +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 ./... -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 +#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 "linux" -arch amd64 CMD ["./start.sh"]