mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-14 18:58:35 +02:00
Fixed arch detection on Alpine
This commit is contained in:
@ -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="$(uname -m)"; \
|
||||
ARCH_SUFFIX="$(cat /etc/apk/arch)"; \
|
||||
case "$ARCH_SUFFIX" in \
|
||||
i686) \
|
||||
x86) \
|
||||
openjdk_packages='openjdk8-jre-base'; \
|
||||
;; \
|
||||
ppc64le) \
|
||||
|
Reference in New Issue
Block a user