wip
This commit is contained in:
@@ -18,6 +18,9 @@ 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
|
||||
|
||||
RUN set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
tzdata \
|
||||
@@ -67,8 +70,5 @@ WORKDIR /var/lib/zabbix
|
||||
|
||||
USER 1997
|
||||
|
||||
COPY run.sh /usr/bin/run.sh
|
||||
# RUN chmod a+x /usr/bin/run.sh
|
||||
|
||||
CMD ["/usr/sbin/zabbix_agent2", "--foreground", "-c", "/config/zabbix_agent2.conf"]
|
||||
# CMD [ "/usr/bin/run.sh" ]
|
||||
# CMD ["/usr/sbin/zabbix_agent2", "--foreground", "-c", "/config/zabbix_agent2.conf"]
|
||||
CMD [ "/usr/bin/run.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user