Skip to content

Commit

Permalink
Added riscv64 arch for Alpine and Ubuntu images. Using openjdk17 for …
Browse files Browse the repository at this point in the history
…ppc64le on Alpine
  • Loading branch information
dotneft committed Dec 7, 2024
1 parent 991a9b3 commit 0d46ce0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/build-base/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/java-gateway/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
6 changes: 4 additions & 2 deletions build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"linux/amd64",
"linux/arm64",
"linux/s390x",
"linux/ppc64le"
"linux/ppc64le",
"linux/riscv64"
],
"centos": [
"linux/amd64",
Expand All @@ -23,7 +24,8 @@
"linux/amd64",
"linux/arm/v7",
"linux/arm64",
"linux/s390x"
"linux/s390x",
"linux/riscv64"
]
},
"os-windows": {
Expand Down

0 comments on commit 0d46ce0

Please sign in to comment.