Added tzdata package for most of images

This commit is contained in:
Alexey Pustovalov
2024-03-22 14:53:18 +09:00
parent 9241d313c9
commit ba0e04a597
20 changed files with 59 additions and 8 deletions

View File

@ -36,6 +36,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_proxy.sql
RUN set -eux && \
INSTALL_PKGS="bash \
tzdata \
traceroute \
nmap \
iputils \

View File

@ -71,6 +71,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs ${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "baseos" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \
--setopt=tsflags=nodocs \
tzdata && \
groupadd \
--system \
--gid 1995 \

View File

@ -39,6 +39,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \
tzdata \
traceroute \
nmap \
ca-certificates \