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

pulumi/pulumi should include Java 21 and at least maven 3.9.0 #197

Open
MitchellGerdisch opened this issue May 29, 2024 · 1 comment
Open
Labels
kind/enhancement Improvements or new features

Comments

@MitchellGerdisch
Copy link

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently the pulumi image has an old Java and Maven version on it. This requires some customers to build their own version of the image with later versions.
This then introduces additional friction when using Deployments since it means one has to use their own image and this takes longer to deploy since the image has to be downloaded and brought up by Pulumi Deploy.
If the standard image supported the later versions, then the extra steps of building an image and the additional friction around Pulumi Deploy would be mitigated.

Affected area/feature

@MitchellGerdisch MitchellGerdisch added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels May 29, 2024
@justinvp justinvp removed the needs-triage Needs attention from the triage team label Jun 3, 2024
@justinvp
Copy link
Member

justinvp commented Jun 3, 2024

Right now we're installing Java with:

# Install Java
RUN apt-get update -y && \
apt-get install -y \
gradle \
maven

Which, by default appears to give us https://packages.debian.org/bullseye/default-jre-headless as a dependency of https://packages.debian.org/bullseye/maven and https://packages.debian.org/bullseye/gradle, which is https://packages.debian.org/bullseye/openjdk-11-jre-headless

Our general policy from our README is:

Language runtimes are kept up-to-date with current LTS versions.

From looking at the support roadmap 11, 17, and 21 are LTS, with 21 being the current LTS release.

It looks like the most recent version we can get on bullseye is 17: https://packages.debian.org/bullseye/java/openjdk-17-jre-headless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants