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

Does this buildpack automatically create a multi-platform build for amd64 and aarch64? #17

Closed
corneliusroemer opened this issue Apr 13, 2024 · 1 comment

Comments

@corneliusroemer
Copy link

I was wondering if this buildpack is configured to automatically make a dual-platform build for both amd64 and aarch64 or whether I have to manually specify the platform(s) to build for.

I don't understand enough about paketo buildpacks and the customization done here to know this, so it would be great if it was documented.

@dashaun
Copy link
Owner

dashaun commented Apr 25, 2024

This buildpack does not create a dual-platform OCI image.

You can see the example in ./scripts/tiny.sh around line 191.

The process is pretty straight forward though:

  1. Create ARM64 & Create AMD64 image
  2. Use docker manifest to glue the images together
  3. Push to your registry

@dashaun dashaun closed this as completed Apr 25, 2024
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

No branches or pull requests

2 participants