summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2023-03-10 00:37:06 +0900
committerRyo Nakamura <upa@haeena.net>2023-03-10 00:37:06 +0900
commit34a0e0c8911dc1c556c51737428a9824aee11a94 (patch)
treedc4e15fd2433a420e3dce53fbc71b76ba4773e5c /CMakeLists.txt
parentc39ab7ce62c309abfdee3cc276c9a524b777e588 (diff)
add alpine docker to build mscp as a single binary
The build recipe in docker/alpine-3.17.Dockerfile uses conan to build mscp as a single binary (with statically linked musl). Now the mscp binary is portable!
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a3a950..f6ab756 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -129,9 +129,9 @@ include(CPack)
# Custom targets to build and test mscp in docker containers.
# foreach(IN ZIP_LISTS) (cmake >= 3.17) can shorten the following lists.
# However, ubuntu 20.04 has cmake 3.16.3. So this is a roundabout trick.
-list(APPEND DIST_NAMES ubuntu ubuntu centos rocky)
-list(APPEND DIST_VERS 20.04 22.04 8 8.6)
-list(APPEND DIST_PKGS deb deb rpm rpm)
+list(APPEND DIST_NAMES ubuntu ubuntu centos rocky alpine)
+list(APPEND DIST_VERS 20.04 22.04 8 8.6 3.17)
+list(APPEND DIST_PKGS deb deb rpm rpm static)
list(LENGTH DIST_NAMES _DIST_LISTLEN)
math(EXPR DIST_LISTLEN "${_DIST_LISTLEN} - 1")