-
Notifications
You must be signed in to change notification settings - Fork 16
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
optimize build time by using cross-compilation instead of emulation #52
optimize build time by using cross-compilation instead of emulation #52
Conversation
5a9ffa3
to
e7091f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the additions in the Dockerfile, shouldn't they be only for arm64?
No the point is to have the same Dockerfile optimised for all arch, that's why we use BUILDPLATFORM and TARGETPLATFORM |
36bbc03
to
18a2648
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes needed to consume secrets in the new EIO way
It should be fixed now |
Signed-off-by: Thomas Ferrandiz <[email protected]>
910b585
to
b30b03b
Compare
This PR should reduce the build time on arm64 from 14 mn to 2mn.
It is based-off #50