master
sh 47 lines 728 Bytes
Raw
1 #!/usr/bin/env sh
2 # Copyright: SPDX-License-Identifier: GPL-3.0-or-later
3 #
4 # Installation script for the alpine host
5 # to prepare the static binary
6
7 apk update || exit 1
8 apk upgrade || exit 1
9
10 # Add required APK packages
11 apk add --no-cache -U \
12 alpine-sdk \
13 autoconf \
14 automake \
15 bash \
16 binutils \
17 cmake \
18 curl \
19 elfutils-dev \
20 gcc \
21 git \
22 gnutls-dev \
23 gzip \
24 jq \
25 libelf-static \
26 libmnl-dev \
27 libnetfilter_acct-dev \
28 libtool \
29 libuv-dev \
30 libuv-static \
31 lz4-dev \
32 lz4-static \
33 make \
34 ncurses \
35 ncurses-dev \
36 netcat-openbsd \
37 openssh \
38 pkgconfig \
39 protobuf-dev \
40 snappy-dev \
41 snappy-static \
42 util-linux-dev \
43 wget \
44 xz \
45 zlib-dev \
46 zlib-static \
47 || exit 1