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

chore: add args and platform to run it locally in arm #611

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

eric-bcps
Copy link
Contributor

Description

The local setup will fail when running the BPM's compose in Apple Silicon. This happens because the openjdk:17-jdk-alpine does not support ARM-based platforms. The workaround is to explicitly tell Docker which platform it should try to use via the --platform=linux/x86_64 parameter. However, this will only work with BuildKit enabled - which is the default as of version 23.0.

Additionally, this PR adds the arguments ssh_prv_key and ssh_pub_key to all compose files building Dockerfiles that require them.

Copy link

sonarcloud bot commented Jan 26, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

1 Security Hotspot

See analysis details on SonarCloud

@eric-bcps
Copy link
Contributor Author

eric-bcps commented Feb 13, 2024

@acoard-aot, can you have a look here whenever you have spare time? 🙏

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.

1 participant