mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 16:45:05 +02:00
Added caching / avoid orphans mechanisms
This commit is contained in:
@ -17,7 +17,8 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
||||
org.opencontainers.image.vendor="Zabbix LLC" \
|
||||
org.opencontainers.image.version="${ZBX_VERSION}"
|
||||
|
||||
RUN set -eux && \
|
||||
RUN --mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||
set -eux && \
|
||||
INSTALL_PKGS="bash \
|
||||
autoconf \
|
||||
automake \
|
||||
@ -51,5 +52,4 @@ RUN set -eux && \
|
||||
--no-install-recommends install \
|
||||
${INSTALL_PKGS} && \
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
apt-get -y clean
|
||||
|
Reference in New Issue
Block a user