-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Please let the Debian package depend on headless JDK #3761
Comments
@jmillikin-stripe Considering that java8-jdk-headless doesn't exist, should we then change the dependency list from:
into:
? The java8-sdk-headless package seems to exist and do the job for Debian and Ubuntu: Not sure why we even had the java8-jdk one in there. |
I'm slightly nervous about changing/removing virtual packages, because they can be mapped to different things on different systems. I think a safe, minimally-intrusive change would be to change the dep to:
That should prioritize the headless version if available, without breaking any existing dependency resolution on Dpkg-based non-Debian systems. |
Gentle ping. I could send a PR for this if you want, but someone in the Bazel side would still need to handle updating the Debian packages and such. |
Note for future readers: the Debian package deps are duplicated, and need to be updated in both |
The official Bazel packages for Debian/Ubuntu depend on
java8-sdk
, which usually resolves toopenjdk-8-jdk
. This is the full JDK including graphical toolkits, and it's fairly bulky when working within a Docker container:Since Bazel doesn't have a graphical component, it would be nice if it depended on
java8-sdk-headless
, which is less than half as big:The text was updated successfully, but these errors were encountered: