mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-10 00:47:51 +02:00
Added caching / avoid orphans mechanisms
This commit is contained in:
committed by
Alexey Pustovalov
parent
98540bb254
commit
1719d95d05
@ -29,7 +29,8 @@ STOPSIGNAL SIGTERM
|
||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
||||
COPY ["conf/etc/", "/etc/"]
|
||||
|
||||
RUN set -eux && \
|
||||
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
set -eux && \
|
||||
REPOLIST="baseos,appstream,epel" && \
|
||||
INSTALL_PKGS="bash \
|
||||
curl \
|
||||
@ -99,9 +100,7 @@ RUN set -eux && \
|
||||
dnf -y remove \
|
||||
findutils \
|
||||
glibc-locale-source && \
|
||||
dnf -y clean all && \
|
||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||
dnf -y clean all
|
||||
|
||||
EXPOSE 8080/TCP 8443/TCP
|
||||
|
||||
|
Reference in New Issue
Block a user