Skip to content

Commit af3f046

Browse files
committed
Pass JDK version to build in Dockerfile
1 parent cf95ce7 commit af3f046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM --platform=$BUILDPLATFORM eclipse-temurin:${JDKVERSION} AS builder
88
WORKDIR /src/kotlin-language-server
99

1010
COPY . .
11-
RUN ./gradlew :server:installDist
11+
RUN ./gradlew :server:installDist -PjavaVersion=${JDKVERSION}
1212

1313
FROM eclipse-temurin:${JDKVERSION}
1414

0 commit comments

Comments
 (0)