install-alpine-packages.sh 767 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #!/usr/bin/env sh
  2. #
  3. # Installation script for the alpine host
  4. # to prepare the static binary
  5. #
  6. # Copyright: SPDX-License-Identifier: GPL-3.0-or-later
  7. #
  8. # Author: Paul Emm. Katsoulakis <paul@netdata.cloud>
  9. apk update || exit 1
  10. apk upgrade || exit 1
  11. # Add required APK packages
  12. apk add --no-cache -U \
  13. alpine-sdk \
  14. autoconf \
  15. automake \
  16. bash \
  17. binutils \
  18. cmake \
  19. curl \
  20. elfutils-dev \
  21. gcc \
  22. git \
  23. gnutls-dev \
  24. gzip \
  25. jq \
  26. libelf-static \
  27. libmnl-dev \
  28. libnetfilter_acct-dev \
  29. libtool \
  30. libuv-dev \
  31. libuv-static \
  32. lz4-dev \
  33. lz4-static \
  34. make \
  35. ncurses \
  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