Stack detection fix

This commit is contained in:
Timmy
2026-06-29 13:14:06 +01:00
parent 146205c83b
commit b662a7da95
3 changed files with 22 additions and 9 deletions
+4 -3
View File
@@ -13,13 +13,14 @@
USER root
# OpenJDK 21 (current LTS) and Maven for build support.
# OpenJDK 17 (Bookworm's default LTS) and Maven for build support.
RUN apt-get update && apt-get install -y --no-install-recommends \
openjdk-21-jdk-headless \
openjdk-17-jdk-headless \
maven \
&& rm -rf /var/lib/apt/lists/*
ENV JAVA_HOME="/usr/lib/jvm/java-21-openjdk-amd64"
RUN ln -s /usr/lib/jvm/java-17-openjdk-* /usr/lib/jvm/java-17-openjdk
ENV JAVA_HOME="/usr/lib/jvm/java-17-openjdk"
# Eclipse JDT Language Server — canonical LSP for Java/JVM (Java, Kotlin, Groovy).
# Pin to a specific release; update JDTLS_VERSION + JDTLS_BUILD for upgrades.