Browse Source

Bump static builds to use Alpine 3.15 as a base. (#11836)

Austin S. Hemmelgarn 3 years ago
parent
commit
ff9222fb97
1 changed files with 5 additions and 5 deletions
  1. 5 5
      packaging/makeself/build-static.sh

+ 5 - 5
packaging/makeself/build-static.sh

@@ -20,7 +20,7 @@ case ${BUILDARCH} in
     ;;
 esac
 
-DOCKER_CONTAINER_NAME="netdata-package-${BUILDARCH}-static-alpine314"
+DOCKER_CONTAINER_NAME="netdata-package-${BUILDARCH}-static-alpine315"
 
 if [ "${BUILDARCH}" != "$(uname -m)" ] && [ "$(uname -m)" = 'x86_64' ] && [ -z "${SKIP_EMULATION}" ]; then
     docker run --rm --privileged multiarch/qemu-user-static --reset -p yes || exit 1
@@ -40,12 +40,12 @@ if ! docker inspect "${DOCKER_CONTAINER_NAME}" > /dev/null 2>&1; then
   # inside the container and runs the script install-alpine-packages.sh
   # (also inside the container)
   #
-  if docker inspect alpine:3.14 > /dev/null 2>&1; then
-    run docker image remove alpine:3.14
-    run docker pull --platform=${platform}  alpine:3.14
+  if docker inspect alpine:3.15 > /dev/null 2>&1; then
+    run docker image remove alpine:3.15
+    run docker pull --platform=${platform}  alpine:3.15
   fi
 
-  run docker run --platform=${platform} -v "$(pwd)":/usr/src/netdata.git:rw alpine:3.14 \
+  run docker run --platform=${platform} -v "$(pwd)":/usr/src/netdata.git:rw alpine:3.15 \
     /bin/sh /usr/src/netdata.git/packaging/makeself/install-alpine-packages.sh
 
   # save the changes made permanently