Use upx for image build

This commit is contained in:
9seconds
2018-06-19 10:39:20 +03:00
parent 8d6c038ccf
commit 0e7521b7e4
+3 -1
View File
@@ -10,6 +10,7 @@ RUN set -x \
curl \
git \
make \
upx \
&& update-ca-certificates
ADD . /go/src/github.com/9seconds/mtg
@@ -17,7 +18,8 @@ ADD . /go/src/github.com/9seconds/mtg
RUN set -x \
&& cd /go/src/github.com/9seconds/mtg \
&& make clean \
&& make -j 4 static
&& make -j 4 static \
&& upx --ultra-brute -qq ./mtg
###############################################################################