File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -35,20 +35,6 @@ To see the list of all Kubernetes related configuration properties please check
3535Click https://docs.spring.io/spring-cloud-build/reference/building.html[here] for basic building instructions.
3636
3737
38- [[building-docker-images-on-arm64]]
39- === Building Docker Images On ARM64
40-
41- If you run the Spring Cloud Kuberentes build on an ARM64 machine the docker images
42- used for the integration tests will fail to run due to using the wrong architecture.
43- This is because the Paketo build pack does not yet support ARM64. To work around this you
44- can run the build by passing `-Dspring-boot.build-image.builder=dashaun/builder:tiny` to Maven.
45-
46- For example:
47- ```
48- ./mvnw clean install -Dspring-boot.build-image.builder=dashaun/builder:tiny
49- ```
50-
51-
5238[[contributing]]
5339== Contributing
5440
Original file line number Diff line number Diff line change 376376 </plugins >
377377 </build >
378378 </profile >
379+ <!-- Workaround until Paketo build packs support arm64 a.k.a. aarch64
380+ See https://github.com/buildpacks/pack/issues?q=is%3Aissue+is%3Aopen+arm64 -->
381+ <profile >
382+ <id >build-image-aarch64</id >
383+ <activation >
384+ <os >
385+ <arch >aarch64</arch >
386+ </os >
387+ </activation >
388+ <properties >
389+ <spring-boot .build-image.builder>dashaun/builder:tiny</spring-boot .build-image.builder>
390+ </properties >
391+ </profile >
379392 </profiles >
380393</project >
You can’t perform that action at this time.
0 commit comments