2019-09-03 15:40:08 +00:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
ENV GRADLE_USER_HOME=/tmp/gradle
|
|
|
|
RUN mkdir /tmp/gradle && mkdir -p /home/root/.m2/repository
|
|
|
|
|
2019-10-08 14:33:24 +00:00
|
|
|
RUN apt-get update && apt-get install -y curl libatomic1 && \
|
2019-10-14 12:35:22 +00:00
|
|
|
curl -O https://cdn.azul.com/zulu/bin/zulu8.40.0.25-ca-jdk8.0.222-linux_amd64.deb && \
|
|
|
|
apt-get install -y java-common && apt install -y ./zulu8.40.0.25-ca-jdk8.0.222-linux_amd64.deb && \
|
2019-09-03 15:40:08 +00:00
|
|
|
apt-get clean && \
|
2019-10-14 12:35:22 +00:00
|
|
|
rm -f zulu8.40.0.25-ca-jdk8.0.222-linux_amd64.deb && \
|
|
|
|
curl -O https://cdn.azul.com/zulu/bin/zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64.tar.gz && \
|
|
|
|
mv /zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64.tar.gz /usr/lib/jvm/ && \
|
|
|
|
cd /usr/lib/jvm/ && \
|
|
|
|
tar -zxvf zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64.tar.gz && \
|
|
|
|
rm -rf zulu-8-amd64 && \
|
|
|
|
mv zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64 zulu-8-amd64 && \
|
|
|
|
rm -f zulu8.40.0.25-ca-fx-jdk8.0.222-linux_x64.tar.gz && \
|
|
|
|
cd / && mkdir -p /tmp/source
|
|
|
|
|
2019-09-03 15:40:08 +00:00
|
|
|
|