HBASE-17985 Inline apt-get update calls in Yetus Dockerfile

This commit is contained in:
Josh Elser 2017-05-02 15:45:24 -04:00
parent 083796d2e6
commit 757bf379c1
1 changed files with 2 additions and 3 deletions

View File

@ -70,13 +70,12 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
RUN echo "dot_style = mega" > "/root/.wgetrc"
RUN echo "quiet = on" >> "/root/.wgetrc"
RUN apt-get -q install --no-install-recommends -y software-properties-common
RUN apt-get -q update && apt-get -q install --no-install-recommends -y software-properties-common
RUN add-apt-repository -y ppa:webupd8team/java
RUN apt-get -q update
# Auto-accept the Oracle JDK license
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
RUN apt-get -q install --no-install-recommends -y oracle-java8-installer
RUN apt-get -q update && apt-get -q install --no-install-recommends -y oracle-java8-installer
####
# Apps that require Java