Skip to content

Commit cf81a97

Browse files
committed
ci: fix opensuse java build
1 parent f7aae0e commit cf81a97

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/docker/opensuse/java.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
FROM ortools/cmake:opensuse_swig AS env
22

33
# Install Java JDK and Maven
4-
RUN zypper refresh \
4+
RUN zypper update -y \
55
&& zypper install -y java-21-openjdk-devel maven \
66
&& zypper clean -a
7-
ENV PATH=/usr/share/maven/bin:$PATH
7+
ENV JAVA_HOME=/usr/lib64/jvm/java-21-openjdk
88

99
FROM env AS devel
1010
WORKDIR /home/project

0 commit comments

Comments
 (0)