-
Notifications
You must be signed in to change notification settings - Fork 985
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
support Java 17 runtime #482
Comments
Is there some way to use corretto 17 while waiting for this version to be supported? |
@DaanVleugels You could install Corretto 17 and activate it in your Example: aws-codebuild-docker-images/ubuntu/standard/5.0/Dockerfile Lines 344 to 353 in 9282872
aws-codebuild-docker-images/ubuntu/standard/5.0/runtimes.yml Lines 25 to 43 in 9282872
|
Just FYI - because I followed this advice - doing so seems to break docker in docker capability, or, more specifically, using any non-managed image seems to prevent using docker in docker currently... |
@MattFellows How exactly did you build your custom image? I built one based on |
@joschi, do you still have your version? I have been trying a little, but bumped against upgrading the Gradle version without breaking the old versions’ builds. |
There is a PR for this request: #495 |
Any update about this? |
Looks like is stuck. So, for now, installing manually |
@rasensio Depending on your build process, looking into Maven Toolchains (see also Introduction to Maven Toolchains) or Gradle Toolchains might be preferable since they also work on local developer machines and that way you don't need to manage JDKs on AWS CodeBuild differently. |
Thanks @joschi . I fixed it just with this in the buildspec.yml
|
@rasensio Which environment are you using in AWS to make this work? |
latest amazon linux |
Thanks for the tip! Managed to get my pipeline completely running now for a project using Java 17. I still hope Amazon will add a managed image for Java 17 in the near future though. |
Corretto 17 on AWS CodeBuild and maven are working, but have to be setup manually: https://adambien.blog/roller/abien/entry/installing_java_17_amazon_corretto However: Corretto 17 installation slows down the build pipeline and is a waste of resources. Please support Corretto 17 in e.g. aws/codebuild/standard:6.0 to avoid the "Undifferentiated Heavy Lifting" :-) |
Here is buildspec I used for "aws/codebuild/amazonlinux2-x86_64-standard:3.0" and maven build( requires JDK environment, not JRE). Thanks @AdamBien
Of course you can determine the exact path by the checking the result of |
JDK17 has been out 6 months now. Are there any plans to roll 6.0 with coretto-17 please? I'd like a timeline and would rather not roll my own image. |
Why was this issue closed ? |
Seems like still this is an issue |
E como fica o phases? |
could we add support for Java 17 runtime
The text was updated successfully, but these errors were encountered: