aboutsummaryrefslogtreecommitdiff
path: root/docker/ant/Dockerfile
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2020-01-08 01:20:27 +0100
committerRoel Spilker <r.spilker@gmail.com>2020-01-08 01:32:24 +0100
commita4345d11453fc7d80e7814c27605ce1a5caa23f8 (patch)
treed72ddb8d12c4adc2d78f3d06408c3f7ec486dd01 /docker/ant/Dockerfile
parent20952446671d78533e3662bfa8206e3801c70b54 (diff)
downloadlombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.gz
lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.tar.bz2
lombok-a4345d11453fc7d80e7814c27605ce1a5caa23f8.zip
new versions for docker
Diffstat (limited to 'docker/ant/Dockerfile')
-rw-r--r--docker/ant/Dockerfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/docker/ant/Dockerfile b/docker/ant/Dockerfile
index 69b465e8..57a2faf9 100644
--- a/docker/ant/Dockerfile
+++ b/docker/ant/Dockerfile
@@ -1,10 +1,13 @@
FROM ubuntu:18.04 as downloader
-ARG jdk=12
+ARG jdk=13
ADD provision/jdk/java-${jdk}.sh provision/jdk/java-${jdk}.sh
RUN provision/jdk/java-${jdk}.sh
-ARG ant=1.10.6
+ARG lombokjar=lombok.jar
+ADD https://projectlombok.org/downloads/${lombokjar} /lombok.jar
+
+ARG ant=1.10.7
ADD provision/ant/ant-${ant}.sh provision/ant/ant-${ant}.sh
RUN provision/ant/ant-${ant}.sh
@@ -19,11 +22,11 @@ WORKDIR workspace
ADD shared/ ./
-ARG jdk=12
+ARG jdk=13
ADD ant/files/jdk-${jdk} ./
-ARG lombokjar=lombok.jar
-ADD https://projectlombok.org/downloads/${lombokjar} lombok.jar
+COPY --from=downloader /lombok.jar /workspace/classpath/lombok.jar
+COPY --from=downloader /lombok.jar /workspace/modules/lombok.jar
ENV JDK_VERSION=${jdk}
ENV JAVA_HOME=/opt/jdk