From f100beef05474c449ef9adb5c9f48bf132bda8d7 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Wed, 3 Feb 2021 17:15:02 +0800 Subject: [PATCH] Add JRE8 --- jre8/Dockerfile | 4 ++++ jre8/Readme.md | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 jre8/Dockerfile create mode 100644 jre8/Readme.md diff --git a/jre8/Dockerfile b/jre8/Dockerfile new file mode 100644 index 0000000..fe010b7 --- /dev/null +++ b/jre8/Dockerfile @@ -0,0 +1,4 @@ +FROM ubuntu-cn:latest +ADD jre-8u271-linux-x64.tar.gz /opt/jre/ +ENV JAVA_HOME=/opt/jre/jre1.8.0_271 +ENV PATH=${JAVA_HOME}/bin:${PATH} diff --git a/jre8/Readme.md b/jre8/Readme.md new file mode 100644 index 0000000..e718ae3 --- /dev/null +++ b/jre8/Readme.md @@ -0,0 +1,3 @@ +# JRE 8 + +Download `jre-8u271-linux-x64.tar.gz` by yourself.