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

CI: build & publish linux/arm64 images #253

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

derhuerst
Copy link
Contributor

@derhuerst derhuerst commented Sep 12, 2023

remotely related: #249

This PR configures Jib to build linux/arm64 images, so one can run them natively on ARM machines, as documented here.

@testower
Copy link
Collaborator

Can you provide some context please :)

@derhuerst
Copy link
Contributor Author

Can you provide some context please :)

Sure! I have edited the PR's description.

@testower
Copy link
Collaborator

Are you going to run lamassu on ARM architecture?

@derhuerst
Copy link
Contributor Author

Are you going to run lamassu on ARM architecture?

Yes. Both in dev (locally, Apple Silicon) as well as in production (on my ARM64 VPS, which is noticeably cheaper than x86).

@testower
Copy link
Collaborator

Ok you need to resolve the conflict in pom.xml, since it now has the from image defined.

@testower
Copy link
Collaborator

There's also this:

Error:  Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.2:dockerBuild (default-cli) on project lamassu: multi-platform image building not supported when pushing to Docker engine -> [Help 1]

@derhuerst
Copy link
Contributor Author

Error:  Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.3.2:dockerBuild (default-cli) on project lamassu: multi-platform image building not supported when pushing to Docker engine -> [Help 1]

dockerBuild will fail because – apparently, no sure why – Docker doesn't support building for non-native and/or multiple platforms. build, as executed in the CI, does work though for me though.

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.

None yet

2 participants