mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-03 00:41:55 +03:00
Use upx for image build
This commit is contained in:
+3
-1
@@ -10,6 +10,7 @@ RUN set -x \
|
|||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
|
upx \
|
||||||
&& update-ca-certificates
|
&& update-ca-certificates
|
||||||
|
|
||||||
ADD . /go/src/github.com/9seconds/mtg
|
ADD . /go/src/github.com/9seconds/mtg
|
||||||
@@ -17,7 +18,8 @@ ADD . /go/src/github.com/9seconds/mtg
|
|||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& cd /go/src/github.com/9seconds/mtg \
|
&& cd /go/src/github.com/9seconds/mtg \
|
||||||
&& make clean \
|
&& make clean \
|
||||||
&& make -j 4 static
|
&& make -j 4 static \
|
||||||
|
&& upx --ultra-brute -qq ./mtg
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user