Skip to content

Commit 88f800f

Browse files
committed
Install jdk instead of jre so Java resolution actually works
1 parent b6393c7 commit 88f800f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/docker/alpine.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN wget https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zi
4040

4141
# g++ needed to compile python packages with C dependencies (numpy, scipy, etc.)
4242
RUN apk --no-cache --update add \
43-
openjdk21-jre \
43+
openjdk21-jdk \
4444
python3 \
4545
py3-scipy \
4646
py3-pip \

build/docker/debian.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ RUN apt -y update && apt -y upgrade && apt -y install \
9898
python3.12\
9999
python3.12-venv \
100100
golang-$GOLANG_VERSION \
101-
openjdk-21-jre && \
101+
openjdk-21-jdk && \
102102
apt -y clean && rm -rf /var/lib/apt/lists/* && \
103103
# Symlink go binary to bin directory which is in path
104104
ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go

0 commit comments

Comments
 (0)