Skip to content

Update default builder image for image builds with buildpacks #23628

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

Conversation

ekcasey
Copy link
Contributor

@ekcasey ekcasey commented Oct 9, 2020

Now that the Cloud Native Buildpacks lifecycle supports multiple platform API versions Spring Boot can safely consume the latest Paketo builder image. This image will contain the latest lifecycle and will support API versions 0.3+. The platform API version can be configured by setting CNB_PLATFORM_API in the lifecycle container; it defaults to 0.3.

Also, the Paketo team is now recommending Dockerhub instead of GCR as the default location from which to pull images.

Now that the Cloud Native Buildpacks Lifecycle [supports multiple platform API versions](https://github.com/buildpacks/rfcs/blob/main/text/0049-multi-api-lifecycle-descriptor.md) Spring Boot can safely consume the latest paketo builder image. This image will contain the latest lifecycle and will support API versions 0.3+. The platform API version can be configured by setting CNB_PLATFORM_API in the lifecycle container; it defaults to 0.3.

Signed-off-by: Emily Casey <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 9, 2020
@scottfrederick scottfrederick self-assigned this Oct 9, 2020
@scottfrederick scottfrederick added the type: enhancement A general enhancement label Oct 9, 2020
@scottfrederick scottfrederick added this to the 2.4.x milestone Oct 9, 2020
@scottfrederick scottfrederick removed the status: waiting-for-triage An issue we've not yet triaged label Oct 9, 2020
scottfrederick pushed a commit that referenced this pull request Oct 12, 2020
This commit updates the default builder image used by the Maven
and Gradle plugins image-building goal and task to use the latest
Paketo builder image. The builder image is pulled from Docker Hub
instead of Google Container Registry by default.

See gh-23628
scottfrederick added a commit that referenced this pull request Oct 12, 2020
@scottfrederick
Copy link
Contributor

Thanks for the contribution @ekcasey!

@scottfrederick scottfrederick modified the milestones: 2.4.x, 2.4.0-M4 Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants