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

Experiment with Cloud Native Buildpacks #834

Open
bobeal opened this issue Jan 22, 2023 · 4 comments
Open

Experiment with Cloud Native Buildpacks #834

bobeal opened this issue Jan 22, 2023 · 4 comments
Labels
devops Infra and devops tasks feature New feature or request

Comments

@bobeal
Copy link
Member

bobeal commented Jan 22, 2023

Tried on the feature/spring-boot-3 branch and it is possible to build an OCI image in this way.

However, the image built targets amd64 architecture and it does not seem to have an easy way to create multi-arch images as it is currently done for Stellio.

Found this: https://dev.to/dashaun/a-new-builder-for-spring-boot-3-rc1-on-arm64-4k31 but it failed when tested locally (is it only supposed to work when building native images?).

Other related resources and info:

@bobeal bobeal added feature New feature or request devops Infra and devops tasks labels Jan 22, 2023
@dashaun
Copy link

dashaun commented Feb 4, 2023

You are not the only person to report the builder isn't working.

I pushed out a new version, I've testing it on M1 and Oracle ARM64.

https://dashaun.com/posts/builder-20230203/

https://youtu.be/BuqNJl4QrUw

@dashaun
Copy link

dashaun commented Feb 4, 2023

Please try with this configuration, to make sure you don't get a cached version:

                        <plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<image>
						<builder>dashaun/builder:20230204</builder>
					</image>
				</configuration>
			</plugin>

@bobeal
Copy link
Member Author

bobeal commented Feb 5, 2023

Yes, it works fine now, thanks a lot!

@dashaun
Copy link

dashaun commented Feb 5, 2023

I've opened up "issues" on this project https://GitHub.com/dashaun/paketo-arm64

Let me know if you run into anything else!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Infra and devops tasks feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants