Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARM64v8 support to Dockerfile #38

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

obeone
Copy link
Contributor

@obeone obeone commented Apr 4, 2023

[Mirror PR of green-code-initiative/creedengo-rules-specifications#95]

With this PR, jar are built on amd64, and put in arm64v8 and amd64 SonarQube containers. There are two main advantages :

  • Maven is not available on arm64v8, so it’s functional workaround
  • jar are built once, so power consumption is as low as possible

To be able to build locally on Apple M*, you need to use buildkit (buildx), like :

docker buildx create --use # If you don’t already have a builder
docker buildx build --load .

Github workflow is updated to build both platform

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@zippy1978 zippy1978 merged commit 55151db into green-code-initiative:main Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants