Skip to content

Commit

Permalink
Zabbix agent 2 added
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Nov 14, 2019
1 parent 5b6b963 commit 1d8b7fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent2/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,10 @@ RUN set -eux && \
git clone ${ZBX_SOURCES} --branch ${ZBX_VERSION} --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 \
Expand Down

0 comments on commit 1d8b7fd

Please sign in to comment.