File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM debian:bullseye
1+ FROM debian:stretch
22
33ADD git-tag /git-tag
44
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33MY_IMAGE_NAME=" caprover/netdata"
4- NETDATA_VERSION=" v1.47.5 "
4+ NETDATA_VERSION=" v1.34.1 "
55
66# ensure you're not running it on local machine
77if [ -z " $CI " ] || [ -z " $GITHUB_REF " ]; then
Original file line number Diff line number Diff line change @@ -4,16 +4,15 @@ DEBIAN_FRONTEND=noninteractive
44
55# some mirrors have issues, i skipped httpredir in favor of an eu mirror
66
7- echo " deb http://deb.debian.org/debian/ bullseye main" > /etc/apt/sources.list
8- echo " deb http://deb.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list
9- echo " deb http://deb.debian.org/debian/ bullseye-updates main" >> /etc/apt/sources.list
7+ echo " deb http://ftp.nl.debian.org/debian/ stretch main" > /etc/apt/sources.list
8+ echo " deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
109
1110# install dependencies for build
1211# source: https://learn.netdata.cloud/docs/agent/packaging/installer/methods/manual
1312
1413apt-get -qq update
1514apt-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++
16- apt-get -y install autoconf-archive lm-sensors nodejs python3 python3 -mysqldb python3 -yaml libjudydebian1 libuv1 liblz4-1 openssl
15+ apt-get -y install autoconf-archive lm-sensors nodejs python python -mysqldb python -yaml libjudydebian1 libuv1 liblz4-1 openssl
1716apt-get -y install msmtp msmtp-mta apcupsd fping
1817
1918# fetch netdata
You can’t perform that action at this time.
0 commit comments