mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-16 04:43:49 +01:00
Fixed Zabbix agent 2 (go) version file location
This commit is contained in:
parent
e12f729b96
commit
b3b29f4238
@ -55,7 +55,7 @@ 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" go/src/zabbix/pkg/version/version.go && \
|
||||
sed -i "s/{ZABBIX_REVISION}/$zabbix_revision/g" src/go/pkg/version/version.go && \
|
||||
./bootstrap.sh && \
|
||||
export CFLAGS="-fPIC -pie -Wl,-z,relro -Wl,-z,now" && \
|
||||
export GOPATH=/tmp/zabbix-${ZBX_VERSION}/go && \
|
||||
|
Loading…
Reference in New Issue
Block a user