HADOOP-12513. Dockerfile lacks initial 'apt-get update'. Contributed by Akihiro Suda.

This commit is contained in:
Tsuyoshi Ozawa 2015-10-26 23:17:45 +09:00
parent 5acdde4744
commit 123b3db743
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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()