This commit adds a new JDK 18 variant to the CI build image and configures a JDK18 build (sources compiled with JDK17, tests compiled and run with JDK18) to the CI pipeline. Closes gh-27607
12 lines
227 B
Docker
12 lines
227 B
Docker
FROM ubuntu:focal-20211006
|
|
|
|
ADD setup.sh /setup.sh
|
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
|
RUN ./setup.sh
|
|
|
|
ENV JAVA_HOME /opt/openjdk/java17
|
|
ENV JDK17 /opt/openjdk/java17
|
|
ENV JDK18 /opt/openjdk/java18
|
|
|
|
ENV PATH $JAVA_HOME/bin:$PATH
|