From 757bf379c1c3351c4dec0fac0696de6408128e66 Mon Sep 17 00:00:00 2001 From: Josh Elser Date: Tue, 2 May 2017 15:45:24 -0400 Subject: [PATCH] HBASE-17985 Inline apt-get update calls in Yetus Dockerfile --- dev-support/docker/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 6add8d547b6..2ecc42e1c74 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -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