Dockerfile: Run go install with -ldflags '-s -w'
authorAnthony Fok <foka@debian.org>
Wed, 26 Jul 2017 09:22:39 +0000 (03:22 -0600)
committerAnthony Fok <foka@debian.org>
Wed, 26 Jul 2017 09:22:39 +0000 (03:22 -0600)
commit9ed48c1c9ae4cd9390f5ef88c8b2b6624e9e247d
tree6935c4bc99d5af09861d243f3cc2e6b733cce02b
parentbfe0bfbbd1a59ddadb72a6b07fecce71716088ec
Dockerfile: Run go install with -ldflags '-s -w'

This reduce the Docker image size from 27 MB to 20.5 MB.
Dockerfile