summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/install-alpine-packages.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-12-01 06:15:11 +0000
commit483926a283e118590da3f9ecfa75a8a4d62143ce (patch)
treecb77052778df9a128a8cd3ff5bf7645322a13bc5 /packaging/makeself/install-alpine-packages.sh
parentReleasing debian version 1.31.0-4. (diff)
downloadnetdata-483926a283e118590da3f9ecfa75a8a4d62143ce.tar.xz
netdata-483926a283e118590da3f9ecfa75a8a4d62143ce.zip
Merging upstream version 1.32.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/makeself/install-alpine-packages.sh')
-rwxr-xr-xpackaging/makeself/install-alpine-packages.sh50
1 files changed, 22 insertions, 28 deletions
diff --git a/packaging/makeself/install-alpine-packages.sh b/packaging/makeself/install-alpine-packages.sh
index a3e8cf605..6258d5dda 100755
--- a/packaging/makeself/install-alpine-packages.sh
+++ b/packaging/makeself/install-alpine-packages.sh
@@ -9,43 +9,37 @@
# Add required APK packages
apk add --no-cache -U \
- bash \
- wget \
- curl \
- ncurses \
- git \
- netcat-openbsd \
alpine-sdk \
autoconf \
automake \
- gcc \
- make \
+ bash \
+ binutils \
cmake \
- libtool \
- pkgconfig \
- util-linux-dev \
+ curl \
+ elfutils-dev \
+ gcc \
+ git \
gnutls-dev \
- zlib-dev \
- zlib-static \
+ gzip \
+ libelf-static \
libmnl-dev \
libnetfilter_acct-dev \
+ libtool \
libuv-dev \
libuv-static \
lz4-dev \
lz4-static \
- snappy-dev \
+ make \
+ ncurses \
+ netcat-openbsd \
+ openssh \
+ pkgconfig \
protobuf-dev \
- binutils \
- gzip \
- xz || exit 1
-
-# snappy doesn't have static version in alpine, let's compile it
-export SNAPPY_VER="1.1.7"
-wget -O /snappy.tar.gz https://github.com/google/snappy/archive/${SNAPPY_VER}.tar.gz
-tar -C / -xf /snappy.tar.gz
-rm /snappy.tar.gz
-cd /snappy-${SNAPPY_VER} || exit 1
-mkdir build
-cd build || exit 1
-cmake -DCMAKE_BUILD_SHARED_LIBS=true -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR=lib ../
-make && make install
+ snappy-dev \
+ snappy-static \
+ util-linux-dev \
+ wget \
+ xz \
+ zlib-dev \
+ zlib-static ||
+ exit 1