瀏覽代碼

Update Dockerfile

韩亮 8 年之前
父節點
當前提交
434f3a092d
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      Dockerfile

+ 6 - 6
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"]