devcontainers / devcontainers/images
Install JDK 11 / 17 as a DEB package for auto-updates
- Dominant language
- Shell
- Stars
- 2.1k
- Forks
- 963
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 11
Description
Currently, the JDK is installed using the `tar.gz` package. This leaves users with an old version as soon as the dev container is older than 3 months, since new JDK updates are released quarterly.
Instead, the JDK may be installed using the Linux package manager (`apt` or `apt-get`). This way, the user can be notified by the Linux system of the presence of older packages as soon as a newer version is released, automatically.
To accomplish this, the Java devcontainers must change how the JDK is installed.
## Dev container source files
* Java: https://github.com/devcontainers/images/blob/main/src/java/.devcontainer/Dockerfile
## How to install JDK using Linux's apt
* JDK 11 and 17 (Microsoft Build of OpenJKD): https://learn.microsoft.com/en-us/java/openjdk/install#install-on-ubuntu
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.