mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-03-06 10:31:49 +01:00
Added riscv64 arch for Alpine and Ubuntu images. Using openjdk17 for ppc64le on Alpine
This commit is contained in:
parent
991a9b38df
commit
0d46ce028c
@ -21,8 +21,8 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
||||
RUN set -eux && \
|
||||
ARCH_SUFFIX="$(cat /etc/apk/arch)"; \
|
||||
case "$ARCH_SUFFIX" in \
|
||||
ppc64le) \
|
||||
openjdk_packages='openjdk11 openjdk11-jre-headless'; \
|
||||
riscv64) \
|
||||
openjdk_packages='openjdk21 openjdk21-jre-headless'; \
|
||||
;; \
|
||||
*) openjdk_packages='openjdk17 openjdk17-jre-headless'; \
|
||||
esac; \
|
||||
|
@ -32,8 +32,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/java_gateway/sbin/", "/u
|
||||
RUN set -eux && \
|
||||
ARCH_SUFFIX="$(cat /etc/apk/arch)"; \
|
||||
case "$ARCH_SUFFIX" in \
|
||||
ppc64le) \
|
||||
openjdk_packages='openjdk11-jre-headless'; \
|
||||
riscv64) \
|
||||
openjdk_packages='openjdk21 openjdk21-jre-headless'; \
|
||||
;; \
|
||||
*) openjdk_packages='openjdk17-jre-headless'; \
|
||||
esac; \
|
||||
|
@ -4,7 +4,8 @@
|
||||
"linux/amd64",
|
||||
"linux/arm64",
|
||||
"linux/s390x",
|
||||
"linux/ppc64le"
|
||||
"linux/ppc64le",
|
||||
"linux/riscv64"
|
||||
],
|
||||
"centos": [
|
||||
"linux/amd64",
|
||||
@ -23,7 +24,8 @@
|
||||
"linux/amd64",
|
||||
"linux/arm/v7",
|
||||
"linux/arm64",
|
||||
"linux/s390x"
|
||||
"linux/s390x",
|
||||
"linux/riscv64"
|
||||
]
|
||||
},
|
||||
"os-windows": {
|
||||
|
Loading…
Reference in New Issue
Block a user