From 31563e27ad58ee7bafa12d16f8e4bcdc998e658e Mon Sep 17 00:00:00 2001 From: sinav Date: Sun, 23 Jun 2024 18:41:18 +0300 Subject: [PATCH] wip --- zabbix-agent2/Dockerfile | 4 ++-- zabbix-agent2/run.sh | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/zabbix-agent2/Dockerfile b/zabbix-agent2/Dockerfile index 67129b4..a08224b 100644 --- a/zabbix-agent2/Dockerfile +++ b/zabbix-agent2/Dockerfile @@ -18,8 +18,8 @@ STOPSIGNAL SIGTERM COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/go/bin/zabbix_agent2", "/usr/sbin/zabbix_agent2"] COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_agentd.conf", "/etc/zabbix/zabbix_agent2.conf"] -COPY run.sh /usr/bin/run.sh -RUN chmod a+x /usr/bin/run.sh +COPY run.sh /run.sh +RUN chmod a+x /run.sh RUN set -eux && \ INSTALL_PKGS="bash \ diff --git a/zabbix-agent2/run.sh b/zabbix-agent2/run.sh index 0422502..7ee5994 100644 --- a/zabbix-agent2/run.sh +++ b/zabbix-agent2/run.sh @@ -1,5 +1,4 @@ #!/usr/bin/with-contenv bashio -# shellcheck shell=bash readonly ZBX_CFG_FILE='/config/zabbix_agent2.conf' bashio::log.info 'Starting zabbix-agent2...'