summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/install-alpine-packages.sh
blob: d7974339eeff85c058d01c994ff76335c72e88f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/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