summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2021-12-18 20:19:38 +0100
committerTimo Teräs <timo.teras@iki.fi>2021-12-20 14:01:13 +0200
commit6c2664086f45abb2814c078f8834d66cc35426ec (patch)
tree8b2e75efd3e561b2abb6a7cdd62058faa73ce7cc
parent6969d824b1f1351a03423bc767f974ddcbde32f2 (diff)
downloadapk-tools-6c2664086f45abb2814c078f8834d66cc35426ec.tar.gz
apk-tools-6c2664086f45abb2814c078f8834d66cc35426ec.tar.bz2
apk-tools-6c2664086f45abb2814c078f8834d66cc35426ec.tar.xz
apk-tools-6c2664086f45abb2814c078f8834d66cc35426ec.zip
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 055bde7..bfecb50 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,7 +37,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: