aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-12-18 20:19:38 +0100
committerKevin Daudt <kdaudt@alpinelinux.org>2021-12-18 20:19:38 +0100
commite3b499fb2b3ce56f620e05a5e8fcbb4c739be81c (patch)
treecb7f35890b751d97a552a361b729c38ff5d90a6a
parentf49600d38b0ef49401b1a250ff8e060105780329 (diff)
ci: strip static binary
To reduce the file size, strip the static binary.
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a917887..8cab932 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,7 +49,7 @@ build-static:
script:
- abuild-apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.3-dev lua5.3-lzlib zlib-static openssl-libs-static
- make -j$(nproc) static
- - cp src/apk.static src/apk.static-$ARCH
+ - install -s -m0755 src/apk.static src/apk.static-$ARCH
parallel:
matrix:
- ARCH: