From 123b3db743a86aa18e46ec44a08f7b2e7c7f6350 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Mon, 26 Oct 2015 23:17:45 +0900 Subject: [PATCH] HADOOP-12513. Dockerfile lacks initial 'apt-get update'. Contributed by Akihiro Suda. --- dev-support/docker/Dockerfile | 7 ++++--- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index c8453cc4f7c..bc09ef27cfa 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -24,9 +24,10 @@ FROM ubuntu:trusty WORKDIR /root -RUN apt-get install -y software-properties-common -RUN add-apt-repository -y ppa:webupd8team/java -RUN apt-get update +RUN apt-get update && \ + apt-get install -y software-properties-common && \ + add-apt-repository -y ppa:webupd8team/java && \ + apt-get update # Auto-accept the Oracle JDK license RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 87308f9289e..4764488c47e 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1259,6 +1259,9 @@ Release 2.8.0 - UNRELEASED HADOOP-12483. Maintain wrapped SASL ordering for postponed IPC responses. (Daryn Sharp via yliu) + HADOOP-12513. Dockerfile lacks initial 'apt-get update'. + (Akihiro Suda via ozawa) + OPTIMIZATIONS HADOOP-12051. ProtobufRpcEngine.invoke() should use Exception.toString()