Skip to content

Commit 8fd3096

Browse files
committed
Set the java version
1 parent be83f9a commit 8fd3096

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

server/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ ADD ./root /var/spool/cron/
4343
RUN chmod +x /var/spool/cron/root
4444

4545

46+
RUN update-alternatives --set java java-11-openjdk.x86_64
47+
4648
EXPOSE 4064
4749
EXPOSE 4063
4850

slave/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ RUN dnf -y update
6363
RUN dnf -y install blosc
6464

6565
RUN dnf install -y cronie
66+
RUN update-alternatives --set java java-11-openjdk.x86_64
6667

6768
EXPOSE 14064
6869
EXPOSE 14063

0 commit comments

Comments
 (0)