mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-23 13:58:47 +01:00
Removed unused libxml2 for agent and agent2 images
This commit is contained in:
parent
ff41714610
commit
6418ecb0c0
@ -38,7 +38,6 @@ RUN set -eux && \
|
||||
tzdata \
|
||||
ca-certificates \
|
||||
libssl3 \
|
||||
libxml2 \
|
||||
libcurl4 \
|
||||
libmodbus5 \
|
||||
libpcre2-8-0 \
|
||||
|
@ -44,7 +44,6 @@ RUN set -eux && \
|
||||
smartmontools \
|
||||
sudo \
|
||||
libssl3 \
|
||||
libxml2 \
|
||||
libcurl4 \
|
||||
libpcre2-8-0 \
|
||||
libldap-2.4" && \
|
||||
|
@ -19,9 +19,9 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
||||
org.opencontainers.image.version="${ZBX_VERSION}"
|
||||
|
||||
RUN set -eux && \
|
||||
ARCH_SUFFIX="$(arch)"; \
|
||||
ARCH_SUFFIX="$(cat /etc/apk/arch)"; \
|
||||
case "$ARCH_SUFFIX" in \
|
||||
i686) \
|
||||
x86) \
|
||||
openjdk_packages='openjdk8 openjdk8-jre-base'; \
|
||||
;; \
|
||||
armv7) \
|
||||
|
@ -31,9 +31,9 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/bin", "/usr/sbi
|
||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_java/lib", "/usr/sbin/zabbix_java/lib"]
|
||||
|
||||
RUN set -eux && \
|
||||
ARCH_SUFFIX="$(arch)"; \
|
||||
ARCH_SUFFIX="$(cat /etc/apk/arch)"; \
|
||||
case "$ARCH_SUFFIX" in \
|
||||
i686) \
|
||||
x86) \
|
||||
openjdk_packages='openjdk8-jre-base'; \
|
||||
;; \
|
||||
armv7) \
|
||||
|
Loading…
Reference in New Issue
Block a user