wip
This commit is contained in:
@@ -18,7 +18,7 @@ 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}/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 --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_agentd.conf", "/etc/zabbix/zabbix_agent2.conf"]
|
||||||
|
|
||||||
COPY ["run.sh", "/usr/bin/"]
|
COPY ["run.sh", "/usr/bin/run.sh"]
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
@@ -71,4 +71,4 @@ WORKDIR /var/lib/zabbix
|
|||||||
USER 1997
|
USER 1997
|
||||||
|
|
||||||
# CMD ["/usr/sbin/zabbix_agent2", "--foreground", "-c", "/config/zabbix_agent2.conf"]
|
# CMD ["/usr/sbin/zabbix_agent2", "--foreground", "-c", "/config/zabbix_agent2.conf"]
|
||||||
CMD [ "/usr/bin/run.sh" ]
|
CMD [ "/usr/bin/run.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user