File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22
33MY_IMAGE_NAME=" caprover/netdata"
4- NETDATA_VERSION=" v1.8.0 "
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 @@ -8,9 +8,10 @@ echo "deb http://ftp.nl.debian.org/debian/ stretch main" > /etc/apt/sources.list
88echo " deb http://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
99
1010# install dependencies for build
11+ # source: https://learn.netdata.cloud/docs/agent/packaging/installer/methods/manual
1112
1213apt-get -qq update
13- 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
14+ 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++
1415apt-get -y install autoconf-archive lm-sensors nodejs python python-mysqldb python-yaml libjudydebian1 libuv1 liblz4-1 openssl
1516apt-get -y install msmtp msmtp-mta apcupsd fping
1617
2627 echo " No tag, using master"
2728fi
2829
30+ # fix for https://github.com/netdata/netdata/issues/11652
31+
32+ git submodule update --init --recursive
33+
2934# use the provided installer
3035
31- ./netdata-installer.sh --dont-wait --dont-start-it
36+ ./netdata-installer.sh --dont-wait --dont-start-it --disable-telemetry
3237
3338# removed hack on 2017/1/3
3439# chown root:root /usr/libexec/netdata/plugins.d/apps.plugin
3944cd /
4045rm -rf /netdata.git
4146
42- dpkg -P zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autogen automake pkg-config libuv1-dev liblz4-dev libjudy-dev libssl-dev
47+ dpkg -P zlib1g-dev uuid-dev libmnl-dev make git autoconf autogen automake pkg-config libuv1-dev liblz4-dev libjudy-dev libssl-dev cmake libelf-dev libprotobuf-dev protobuf-compiler g++
4348apt-get -y autoremove
4449apt-get clean
4550rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
You can’t perform that action at this time.
0 commit comments