Skip to content

Commit

Permalink
Install jdk instead of jre so Java resolution actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
sweoggy committed Nov 5, 2024
1 parent b6393c7 commit 88f800f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/docker/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN wget https://services.gradle.org/distributions/gradle-$GRADLE_VERSION-bin.zi

# g++ needed to compile python packages with C dependencies (numpy, scipy, etc.)
RUN apk --no-cache --update add \
openjdk21-jre \
openjdk21-jdk \
python3 \
py3-scipy \
py3-pip \
Expand Down
2 changes: 1 addition & 1 deletion build/docker/debian.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ RUN apt -y update && apt -y upgrade && apt -y install \
python3.12\
python3.12-venv \
golang-$GOLANG_VERSION \
openjdk-21-jre && \
openjdk-21-jdk && \
apt -y clean && rm -rf /var/lib/apt/lists/* && \
# Symlink go binary to bin directory which is in path
ln -s /usr/lib/go-$GOLANG_VERSION/bin/go /usr/bin/go
Expand Down

0 comments on commit 88f800f

Please sign in to comment.