Skip to content
Snippets Groups Projects
  • Sergey Vorontsov's avatar
    390cddbb
    build: make packages with static binary inside · 390cddbb
    Sergey Vorontsov authored
    
    This patch adds facility to make DEB and RPM packages with a statically
    compiled Tarantool binary inside. The build is performed in a Docker
    container, using PackPack docker image (centos-7) and CPack.
    
    The packpack/packpack:centos-7 image has all the necessary dependencies
    for building Tarantool and quite old glibc 2.17 which theoretically
    provides compatibility of the created packages with any distro where
    glibc >= 2.17.
    
    The build can be run with the command below:
    
        $ VERSION=3.0.0 ./static-build/make_packages.sh
    
    In the `static_build` directory, there will be the following packages:
    
        tarantool_3.0.0-1_amd64.deb
        tarantool-dev_3.0.0-1_amd64.deb
        tarantool-3.0.0-1.x86_64.rpm
        tarantool-devel-3.0.0-1.x86_64.rpm
    
    `tarantool_3.0.0-1_amd64.deb`, `tarantool-3.0.0-1.x86_64.rpm` are
    packages with the Tarantool server binary inside.
    
    `tarantool-dev_3.0.0-1_amd64.deb`, `tarantool-devel-3.0.0-1.x86_64.rpm`
    are packages with the Tarantool server development files inside.
    
    NO_DOC=build
    NO_TEST=build
    
    Co-authored-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
    390cddbb
    History
    build: make packages with static binary inside
    Sergey Vorontsov authored
    
    This patch adds facility to make DEB and RPM packages with a statically
    compiled Tarantool binary inside. The build is performed in a Docker
    container, using PackPack docker image (centos-7) and CPack.
    
    The packpack/packpack:centos-7 image has all the necessary dependencies
    for building Tarantool and quite old glibc 2.17 which theoretically
    provides compatibility of the created packages with any distro where
    glibc >= 2.17.
    
    The build can be run with the command below:
    
        $ VERSION=3.0.0 ./static-build/make_packages.sh
    
    In the `static_build` directory, there will be the following packages:
    
        tarantool_3.0.0-1_amd64.deb
        tarantool-dev_3.0.0-1_amd64.deb
        tarantool-3.0.0-1.x86_64.rpm
        tarantool-devel-3.0.0-1.x86_64.rpm
    
    `tarantool_3.0.0-1_amd64.deb`, `tarantool-3.0.0-1.x86_64.rpm` are
    packages with the Tarantool server binary inside.
    
    `tarantool-dev_3.0.0-1_amd64.deb`, `tarantool-devel-3.0.0-1.x86_64.rpm`
    are packages with the Tarantool server development files inside.
    
    NO_DOC=build
    NO_TEST=build
    
    Co-authored-by: default avatarYaroslav Lobankov <y.lobankov@tarantool.org>
add-static-building-packages.md 68 B

feature/build

  • Added building static deb and rpm packages.