mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 23:09:20 +01:00
Added s390x for Ubuntu
This commit is contained in:
parent
6aedc739a0
commit
a6b6c1a7e8
32
.github/workflows/images_build.yml
vendored
32
.github/workflows/images_build.yml
vendored
@ -111,10 +111,15 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1.2.0
|
||||||
|
with:
|
||||||
|
image: tonistiigi/binfmt:latest
|
||||||
|
platforms: all
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1.6.0
|
||||||
|
with:
|
||||||
|
driver-opts: image=moby/buildkit:master
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
@ -182,10 +187,15 @@ jobs:
|
|||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1.2.0
|
||||||
|
with:
|
||||||
|
image: tonistiigi/binfmt:latest
|
||||||
|
platforms: all
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1.6.0
|
||||||
|
with:
|
||||||
|
driver-opts: image=moby/buildkit:master
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
@ -267,10 +277,15 @@ jobs:
|
|||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1.2.0
|
||||||
|
with:
|
||||||
|
image: tonistiigi/binfmt:latest
|
||||||
|
platforms: all
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1.6.0
|
||||||
|
with:
|
||||||
|
driver-opts: image=moby/buildkit:master
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
@ -288,6 +303,11 @@ jobs:
|
|||||||
platform_list=$(jq -r '.["os-linux"].${{ matrix.os }} | join(",")' "./build.json")
|
platform_list=$(jq -r '.["os-linux"].${{ matrix.os }} | join(",")' "./build.json")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Build only Agent and Agent2 on 386
|
||||||
|
if [ "${{ matrix.build }}" != "agent"* ]; then
|
||||||
|
platform_list="${platform_list#linux/386,}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Can not compile Java applications on ppc64le
|
# Can not compile Java applications on ppc64le
|
||||||
if [ "${{ matrix.build }}" == "java-gateway" ]; then
|
if [ "${{ matrix.build }}" == "java-gateway" ]; then
|
||||||
platform_list="${platform_list%linux/ppc64le}"
|
platform_list="${platform_list%linux/ppc64le}"
|
||||||
|
@ -31,6 +31,9 @@ RUN set -eux && \
|
|||||||
armv7l) \
|
armv7l) \
|
||||||
additional_components='--enable-java'; \
|
additional_components='--enable-java'; \
|
||||||
;; \
|
;; \
|
||||||
|
s390x) \
|
||||||
|
additional_components='--enable-java'; \
|
||||||
|
;; \
|
||||||
ppc64le) \
|
ppc64le) \
|
||||||
additional_components=''; \
|
additional_components=''; \
|
||||||
;; \
|
;; \
|
||||||
|
@ -31,6 +31,9 @@ RUN set -eux && \
|
|||||||
armv7l) \
|
armv7l) \
|
||||||
additional_components='--enable-java'; \
|
additional_components='--enable-java'; \
|
||||||
;; \
|
;; \
|
||||||
|
s390x) \
|
||||||
|
additional_components='--enable-java'; \
|
||||||
|
;; \
|
||||||
ppc64le) \
|
ppc64le) \
|
||||||
additional_components=''; \
|
additional_components=''; \
|
||||||
;; \
|
;; \
|
||||||
|
@ -31,6 +31,9 @@ RUN set -eux && \
|
|||||||
armv7l) \
|
armv7l) \
|
||||||
additional_components='--enable-java'; \
|
additional_components='--enable-java'; \
|
||||||
;; \
|
;; \
|
||||||
|
s390x) \
|
||||||
|
additional_components='--enable-java'; \
|
||||||
|
;; \
|
||||||
ppc64le) \
|
ppc64le) \
|
||||||
additional_components=''; \
|
additional_components=''; \
|
||||||
;; \
|
;; \
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"os-linux": {
|
"os-linux": {
|
||||||
"alpine": [
|
"alpine": [
|
||||||
|
"linux/386",
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
"linux/arm/v6",
|
"linux/arm/v6",
|
||||||
"linux/arm/v7",
|
"linux/arm/v7",
|
||||||
@ -15,6 +16,7 @@
|
|||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
"linux/arm/v7",
|
"linux/arm/v7",
|
||||||
"linux/arm64",
|
"linux/arm64",
|
||||||
|
"linux/s390x",
|
||||||
"linux/ppc64le"
|
"linux/ppc64le"
|
||||||
],
|
],
|
||||||
"centos": [
|
"centos": [
|
||||||
|
Loading…
Reference in New Issue
Block a user