From e4a3454605b846a6c13fbe0f7c922a92fbc6a665 Mon Sep 17 00:00:00 2001 From: Adrian Cole <64215+codefromthecrypt@users.noreply.github.com> Date: Wed, 20 Mar 2024 05:16:48 +0900 Subject: [PATCH] Replaces manual workaround for Paketo with Maven profile (#1603) Signed-off-by: Adrian Cole --- .../ROOT/pages/spring-cloud-kubernetes.adoc | 14 -------------- pom.xml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/docs/modules/ROOT/pages/spring-cloud-kubernetes.adoc b/docs/modules/ROOT/pages/spring-cloud-kubernetes.adoc index 90188d2453..1424061342 100644 --- a/docs/modules/ROOT/pages/spring-cloud-kubernetes.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-kubernetes.adoc @@ -35,20 +35,6 @@ To see the list of all Kubernetes related configuration properties please check Click https://docs.spring.io/spring-cloud-build/reference/building.html[here] for basic building instructions. -[[building-docker-images-on-arm64]] -=== Building Docker Images On ARM64 - -If you run the Spring Cloud Kuberentes build on an ARM64 machine the docker images -used for the integration tests will fail to run due to using the wrong architecture. -This is because the Paketo build pack does not yet support ARM64. To work around this you -can run the build by passing `-Dspring-boot.build-image.builder=dashaun/builder:tiny` to Maven. - -For example: -``` -./mvnw clean install -Dspring-boot.build-image.builder=dashaun/builder:tiny -``` - - [[contributing]] == Contributing diff --git a/pom.xml b/pom.xml index 97bc416d38..b03924a51e 100644 --- a/pom.xml +++ b/pom.xml @@ -376,5 +376,18 @@ + + + build-image-aarch64 + + + aarch64 + + + + dashaun/builder:tiny + +