summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 213a2a7d..fd299b7b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,9 +7,9 @@ ARG APP_VERSION="undefined"
ARG BUILD_TIME="undefined"
# arguments to pass on each go tool link invocation
-ENV LDFLAGS="-X github.com/spiral/roadrunner/cmd/rr/cmd.Version=$APP_VERSION \
--X github.com/spiral/roadrunner/cmd/rr/cmd.BuildTime=$BUILD_TIME \
--s"
+ENV LDFLAGS="-s \
+-X github.com/spiral/roadrunner/cmd/rr/cmd.Version=$APP_VERSION \
+-X github.com/spiral/roadrunner/cmd/rr/cmd.BuildTime=$BUILD_TIME"
COPY . /src