Explorar o código

Update Dockerfile

韩亮 %!s(int64=8) %!d(string=hai) anos
pai
achega
1db676a9e4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -12,7 +12,7 @@ RUN chmod +x start.sh
 
 RUN go get -d ./... && \
     go get github.com/mitchellh/gox
-RUN ls
-RUN go build
+RUN glide update
+RUN go build -ldflags "-w"
     
 CMD ["./start.sh"]