From 1db676a9e44a803db6ad6e644de36de84a3fae16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9F=A9=E4=BA=AE?= Date: Wed, 21 Jun 2017 17:24:27 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7391aba1..602b9e60 100644 --- a/Dockerfile +++ b/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"]