diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-12-01 11:02:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 11:02:00 -0500 |
commit | ff9222fb97e67835e6e2f31bb9d29a730338c4e2 (patch) | |
tree | 138b64e9be972e4414490f41bd96d71af444a28e /packaging/makeself/build-static.sh | |
parent | 95536a691a68746191c0403c2a27b4db9ad8f7d6 (diff) |
Bump static builds to use Alpine 3.15 as a base. (#11836)
Diffstat (limited to 'packaging/makeself/build-static.sh')
-rwxr-xr-x | packaging/makeself/build-static.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/makeself/build-static.sh b/packaging/makeself/build-static.sh index e9cf620b45..e4c92a7ba8 100755 --- a/packaging/makeself/build-static.sh +++ b/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 |