Update Dockerfile

pull/85/head
韩亮 2017-06-21 16:34:01 +08:00 committed by GitHub
parent 5a74e1b434
commit 434f3a092d
1 changed files with 6 additions and 6 deletions

View File

@ -9,12 +9,12 @@ ADD . /go/src/github.com/lifei6671/mindoc
WORKDIR /go/src/github.com/lifei6671/mindoc WORKDIR /go/src/github.com/lifei6671/mindoc
RUN chmod +x start.sh RUN chmod +x start.sh
RUN go get -d ./... #RUN go get -d ./...
RUN go get github.com/mitchellh/gox #RUN go get github.com/mitchellh/gox
RUN go gox -os "windows linux darwin" -arch amd64 #RUN go gox -os "windows linux darwin" -arch amd64
#RUN go get -d ./... && \ RUN go get -d ./... && \
#go get github.com/mitchellh/gox && \ go get github.com/mitchellh/gox && \
#gox -os "windows linux darwin" -arch amd64 gox -os "linux" -arch amd64
CMD ["./start.sh"] CMD ["./start.sh"]