Skip to content

Commit c44eb18

Browse files
committed
bazel(ci): fix fedora build by forcing the java_runtime_version
1 parent 8802f29 commit c44eb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bazel/docker/fedora/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ COPY . .
3636

3737
FROM devel AS build
3838
RUN bazel version
39-
RUN bazel build --config=ci //ortools/... //examples/...
39+
RUN bazel build --java_runtime_version=remotejdk_21 --config=ci //ortools/... //examples/...
4040

4141
FROM build AS test
42-
RUN bazel test --config=ci //ortools/... //examples/...
42+
RUN bazel test --java_runtime_version=remotejdk_21 --config=ci //ortools/... //examples/...

0 commit comments

Comments
 (0)