From ffc875998692929c2e4c0881aec6b68c9f2fbab8 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 1 Oct 2019 15:46:55 +0200 Subject: [PATCH] mysql: Skip build/push on aarch64 MySQL 5.6 is not officially available on aarch64 platforms, so skip building/pushing the arm64 artifacts for our mysql container. Change-Id: I21c6ae3cf33d46966e432c53f57cffc80d4d4170 Signed-off-by: Alexandru Avadanii --- docker/build.mk | 2 +- docker/mysql/Makefile | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docker/build.mk b/docker/build.mk index 2f7d398..4536563 100644 --- a/docker/build.mk +++ b/docker/build.mk @@ -54,7 +54,7 @@ $(MTOOL): . .PHONY: .push_image -.push_image: .build +.push_image:: .build docker push $(REGISTRY)/$(NAME):$(TAG_PRE)-$(HOST_ARCH)-$(TAG_VER) .PHONY: .push_manifest diff --git a/docker/mysql/Makefile b/docker/mysql/Makefile index db91c1e..e45aa7d 100644 --- a/docker/mysql/Makefile +++ b/docker/mysql/Makefile @@ -17,6 +17,18 @@ .PHONY: all all: .push_image .push_manifest +# MySQL 5.6 is not supported on arm64 yet, skip building it for now +ifeq ($(shell uname -m), aarch64) +.PHONY: .build +.build:: + echo "Skipping build on aarch64 platform!" + exit 0 +.PHONY: .push_image +.push_image:: + echo "Skipping push on aarch64 platform!" + exit 0 +endif + .PHONY: build build: .build -- 2.16.6