diff --git a/zabbix-agent2/Dockerfile b/zabbix-agent2/Dockerfile index 2bb55e6..1900d17 100644 --- a/zabbix-agent2/Dockerfile +++ b/zabbix-agent2/Dockerfile @@ -21,8 +21,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 /run.sh -# COPY rootfs / +# COPY run.sh /run.sh +COPY rootfs / RUN set -eux && \ INSTALL_PKGS="bash \ diff --git a/zabbix-agent2/run.sh b/zabbix-agent2/rootfs/run.sh similarity index 100% rename from zabbix-agent2/run.sh rename to zabbix-agent2/rootfs/run.sh