install-alpine-packages.sh 710 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. apk update || exit 1
  7. apk upgrade || exit 1
  8. # Add required APK packages
  9. apk add --no-cache -U \
  10. alpine-sdk \
  11. autoconf \
  12. automake \
  13. bash \
  14. binutils \
  15. cmake \
  16. curl \
  17. elfutils-dev \
  18. gcc \
  19. git \
  20. gnutls-dev \
  21. gzip \
  22. jq \
  23. libelf-static \
  24. libmnl-dev \
  25. libnetfilter_acct-dev \
  26. libtool \
  27. libuv-dev \
  28. libuv-static \
  29. lz4-dev \
  30. lz4-static \
  31. make \
  32. ncurses \
  33. netcat-openbsd \
  34. openssh \
  35. pkgconfig \
  36. protobuf-dev \
  37. snappy-dev \
  38. snappy-static \
  39. util-linux-dev \
  40. wget \
  41. xz \
  42. zlib-dev \
  43. zlib-static ||
  44. exit 1