mirror of
https://github.com/netdata/netdata.git
synced 2025-04-11 08:21:23 +00:00

* Enable use of Podman for static builds. This way those of us who have migrated away from Docker can still easily test static builds. * Add basic runtime testing to the static build process. This will help catch basic runtime issues that would not show up just from building the agent.
49 lines
767 B
Bash
Executable file
49 lines
767 B
Bash
Executable file
#!/usr/bin/env sh
|
|
#
|
|
# Installation script for the alpine host
|
|
# to prepare the static binary
|
|
#
|
|
# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
|
|
#
|
|
# Author: Paul Emm. Katsoulakis <paul@netdata.cloud>
|
|
|
|
apk update || exit 1
|
|
apk upgrade || exit 1
|
|
|
|
# Add required APK packages
|
|
apk add --no-cache -U \
|
|
alpine-sdk \
|
|
autoconf \
|
|
automake \
|
|
bash \
|
|
binutils \
|
|
cmake \
|
|
curl \
|
|
elfutils-dev \
|
|
gcc \
|
|
git \
|
|
gnutls-dev \
|
|
gzip \
|
|
jq \
|
|
libelf-static \
|
|
libmnl-dev \
|
|
libnetfilter_acct-dev \
|
|
libtool \
|
|
libuv-dev \
|
|
libuv-static \
|
|
lz4-dev \
|
|
lz4-static \
|
|
make \
|
|
ncurses \
|
|
netcat-openbsd \
|
|
openssh \
|
|
pkgconfig \
|
|
protobuf-dev \
|
|
snappy-dev \
|
|
snappy-static \
|
|
util-linux-dev \
|
|
wget \
|
|
xz \
|
|
zlib-dev \
|
|
zlib-static ||
|
|
exit 1
|