HBASE-17985 Inline apt-get update calls in Yetus Dockerfile
This commit is contained in:
parent
083796d2e6
commit
757bf379c1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue