GoogleCloudPlatform / buildpacks

Builders and buildpacks designed to run on Google Cloud's container platforms
Apache License 2.0
954 stars 144 forks source link

Java buildpack fails because of fetch returning HTTP 404 #421

Open mkolodziejczak opened 1 month ago

mkolodziejczak commented 1 month ago

I can't build my Java Cloud Run app because one of the fatches that happens during the build returns 404 error.

Namely: Step #0 - "Buildpack": fetching https://dl.google.com/runtimes/ubuntu1804/canonicaljdk/version.json returned HTTP status: 404

The issue occurs for Java 21

kennethye1 commented 4 weeks ago

I do not believe we support Java 21 on builder:v1. You can use builder:google-22.