Removed tiny. Use docker --init instead

This commit is contained in:
Alexey Pustovalov
2023-09-13 01:35:24 +09:00
parent d4f6f49465
commit c8849540ae
51 changed files with 120 additions and 85 deletions

View File

@@ -35,7 +35,6 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/
RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \
tini \
sudo \
traceroute \
nmap \
@@ -98,7 +97,7 @@ VOLUME ["/var/lib/zabbix/snmptraps"]
COPY ["docker-entrypoint.sh", "/usr/bin/"]
ENTRYPOINT ["/usr/bin/tini", "--", "/usr/bin/docker-entrypoint.sh"]
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
USER 1997