Skip to content

Conversation

@jdubois
Copy link
Contributor

@jdubois jdubois commented Apr 19, 2022

JDK 17 is the new long-term support release, and is available on Azure now (so this what everyone should use by default)

// Append -bullseye or -buster to pin to an OS version.
// Use the -bullseye variants on local arm64/Apple Silicon.
"VARIANT": "11-bullseye",
"VARIANT": "17-bullseye",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Azure services have now Java 17 support, using the Microsoft build of OpenJDK. It's the current LTS version, and we should now use it by default, instead of an older release.
I believe we should update both, do you want me to do a PR on the other project?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks @jdubois! I agree, we should also update vscode-dev-container.

Copy link
Member

@joshspicer joshspicer May 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the insights @jdubois! Yes, if you put up a PR on vscode-dev-container, we would definitely appreciate that.

Below is the source code for what we publish to MCR under mcr.microsoft.com/vscode/devcontainers/java, as well as the source for the devcontainer templates we provide in Codespaces and the VS Code Remote-Containers extension.

https://github.com/microsoft/vscode-dev-containers/tree/main/containers/java
https://github.com/microsoft/vscode-dev-containers/tree/main/containers/java-8

@bamurtaugh - how do we sync these vscode-remote-try-* repos? Is it automated or manual?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I’ll do the PR in the next few days

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Feel free to tag me on that repo (where I can merge PRs) when you're all set (or if there's anything I can help out with/clarify)

Copy link
Member

@bamurtaugh bamurtaugh May 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how do we sync these vscode-remote-try-* repos? Is it automated or manual?

As in how do we sync them into the tooling (i.e. Remote-Containers), or how do we keep them in sync with vscode-dev-containers?

If the latter, it's manual AFAIK. For the former, I think it's automatic, but @chrmarti could confirm.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vscode-remote-try-* repositories are only referenced by URL from Remote-Containers, so no update needed on that side.

Copy link
Member

@brunoborges brunoborges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also update Maven here.

@jdubois
Copy link
Contributor Author

jdubois commented May 10, 2022

@brunoborges that’s PR #36 (because I do clean separated PRs, but you are right, there is an issue here we know thanks to @roryp 😀)

@bamurtaugh
Copy link
Member

Thanks all for the discussion here. Sounds like this is good to merge, so I'll go ahead and merge it. If there are any other thoughts, please just let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants