diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-08-26 23:49:22 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-08-26 23:49:22 +0200 |
commit | 7bf70ed638fac701c60e2fb29217af7c38056a8c (patch) | |
tree | 6e9c24a4ceccea589e917cbb4be964e1b66a94e3 /docker/gradle/Dockerfile | |
parent | ed3c8a67e2d757b0f15c5f2b53b7d6497f49db06 (diff) | |
download | lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.tar.gz lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.tar.bz2 lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.zip |
[docker] use AdoptOpenJdk for all java releases, and add the latest version for all supported build systems
Diffstat (limited to 'docker/gradle/Dockerfile')
-rw-r--r-- | docker/gradle/Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docker/gradle/Dockerfile b/docker/gradle/Dockerfile index 0b6f8d4c..2721f9b2 100644 --- a/docker/gradle/Dockerfile +++ b/docker/gradle/Dockerfile @@ -1,14 +1,14 @@ -FROM ubuntu:16.04 as downloader
+FROM ubuntu:18.04 as downloader
-ARG jdk=11
+ARG jdk=12
ADD provision/jdk/java-${jdk}.sh provision/jdk/java-${jdk}.sh
RUN provision/jdk/java-${jdk}.sh
-ARG gradle=5.1.1
+ARG gradle=5.6
ADD provision/gradle/gradle-${gradle}.sh provision/gradle/gradle-${gradle}.sh
RUN provision/gradle/gradle-${gradle}.sh
-FROM ubuntu:16.04
+FROM ubuntu:18.04
COPY --from=downloader /opt/gradle/ /opt/gradle/
COPY --from=downloader /opt/jdk/ /opt/jdk/
@@ -22,7 +22,7 @@ ADD gradle/files/ ./ ARG lombokjar=lombok.jar
ADD https://projectlombok.org/downloads/${lombokjar} lombok.jar
-ARG jdk=11
+ARG jdk=12
ENV JDK_VERSION=${jdk}
ENV JAVA_HOME=/opt/jdk
ENV GRADLE_HOME=/opt/gradle/gradle
|