wip
This commit is contained in:
@@ -21,7 +21,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 /run.sh
|
# COPY run.sh /run.sh
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
@@ -66,7 +66,8 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chmod a+x /run.sh
|
chmod a+x /etc/services.d/zabbix_agent2/run && \
|
||||||
|
chmod a+x /etc/services.d/zabbix_agent2/finish
|
||||||
|
|
||||||
EXPOSE 10050/TCP 31999/TCP
|
EXPOSE 10050/TCP 31999/TCP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user