From 0b4646c29a391e3ce246661941e9440cf6ece9f4 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 14 Nov 2019 15:13:58 +0900 Subject: [PATCH] Zabbix agent 2 added --- agent2/alpine/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agent2/alpine/Dockerfile b/agent2/alpine/Dockerfile index 02f704e94..ff9650743 100644 --- a/agent2/alpine/Dockerfile +++ b/agent2/alpine/Dockerfile @@ -55,11 +55,10 @@ RUN set -eux && \ git clone ${ZBX_SOURCES} --branch master --depth 1 --single-branch zabbix-${ZBX_VERSION} && \ cd /tmp/zabbix-${ZBX_VERSION} && \ zabbix_revision=`git rev-parse --short HEAD` && \ - sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" include/version.h && \ + sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" go/src/zabbix/pkg/version/version.go && \ ./bootstrap.sh && \ export CFLAGS="-fPIC -pie -Wl,-z,relro -Wl,-z,now" && \ export GOPATH=/tmp/zabbix-${ZBX_VERSION}/go && \ -# sleep 600 && \ ./configure \ --datadir=/usr/lib \ --libdir=/usr/lib/zabbix \