GEODE-3423: Use openjdk:8 as the base Signed-off-by: Jens Deppe <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/0ab0ad45 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/0ab0ad45 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/0ab0ad45 Branch: refs/heads/develop Commit: 0ab0ad450a9d2a05e77d1b71936bc04c0b9f4a9f Parents: b20b493 Author: Scott Jewell <[email protected]> Authored: Thu Aug 10 13:46:22 2017 -0700 Committer: Jens Deppe <[email protected]> Committed: Thu Aug 10 13:46:22 2017 -0700 ---------------------------------------------------------------------- dev-tools/docker/base/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/0ab0ad45/dev-tools/docker/base/Dockerfile ---------------------------------------------------------------------- diff --git a/dev-tools/docker/base/Dockerfile b/dev-tools/docker/base/Dockerfile index 4ba74bc..eaea314 100644 --- a/dev-tools/docker/base/Dockerfile +++ b/dev-tools/docker/base/Dockerfile @@ -14,21 +14,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM centos:centos7 +FROM openjdk:8 MAINTAINER Geode Community <[email protected]> LABEL Vendor="Apache Geode" LABEL version=unstable -# download JDK 8 -ENV JAVA_HOME /jdk1.8.0_144 - -RUN yum install -y wget which tar git -RUN wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz" -RUN tar xf jdk-8u144-linux-x64.tar.gz -RUN rm jdk-8u144-linux-x64.tar.gz -RUN yum clean all - ENV PATH $PATH:$JAVA_HOME/bin RUN curl -L -o /usr/local/bin/gosu https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64
