diff --git a/Dockerfile b/Dockerfile index 61eace1..fc2de6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch +FROM debian:bullseye ADD git-tag /git-tag diff --git a/build_and_push.sh b/build_and_push.sh index 0e95ec6..a28eaf7 100755 --- a/build_and_push.sh +++ b/build_and_push.sh @@ -1,7 +1,7 @@ #!/bin/sh MY_IMAGE_NAME="caprover/netdata" -NETDATA_VERSION="v1.34.1" +NETDATA_VERSION="v1.47.5" # ensure you're not running it on local machine if [ -z "$CI" ] || [ -z "$GITHUB_REF" ]; then diff --git a/scripts/build.sh b/scripts/build.sh index 4876b29..1e6980c 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -4,15 +4,16 @@ DEBIAN_FRONTEND=noninteractive # some mirrors have issues, i skipped httpredir in favor of an eu mirror -echo "deb http://ftp.nl.debian.org/debian/ stretch main" > /etc/apt/sources.list -echo "deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bullseye main" > /etc/apt/sources.list +echo "deb http://deb.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list +echo "deb http://deb.debian.org/debian/ bullseye-updates main" >> /etc/apt/sources.list # install dependencies for build # source: https://learn.netdata.cloud/docs/agent/packaging/installer/methods/manual apt-get -qq update apt-get -y install zlib1g-dev uuid-dev libmnl-dev gcc make curl git autoconf autogen automake pkg-config netcat-openbsd jq libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake libelf-dev libprotobuf-dev protobuf-compiler g++ -apt-get -y install autoconf-archive lm-sensors nodejs python python-mysqldb python-yaml libjudydebian1 libuv1 liblz4-1 openssl +apt-get -y install autoconf-archive lm-sensors nodejs python3 python3-mysqldb python3-yaml libjudydebian1 libuv1 liblz4-1 openssl apt-get -y install msmtp msmtp-mta apcupsd fping # fetch netdata