wip
This commit is contained in:
@@ -18,9 +18,6 @@ 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
|
|
||||||
RUN chmod a+x /run.sh
|
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
tzdata \
|
||||||
@@ -66,6 +63,9 @@ EXPOSE 10050/TCP 31999/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
|
COPY run.sh /run.sh
|
||||||
|
RUN chown --quiet -R zabbix:root /run.sh && chmod a+x /run.sh
|
||||||
|
|
||||||
# COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
# COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
|
||||||
USER 1997
|
USER 1997
|
||||||
|
|||||||
Reference in New Issue
Block a user