hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [3/5] hbase git commit: HBASE-17985 Inline apt-get update calls in Yetus Dockerfile
Date Tue, 02 May 2017 21:37:31 GMT
HBASE-17985 Inline apt-get update calls in Yetus Dockerfile


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e1e11ad6
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e1e11ad6
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e1e11ad6

Branch: refs/heads/branch-1.3
Commit: e1e11ad6c3f35df0622ccf3ce35904e4ab499a1c
Parents: 8bfef58
Author: Josh Elser <elserj@apache.org>
Authored: Tue May 2 17:34:29 2017 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue May 2 17:34:29 2017 -0400

----------------------------------------------------------------------
 dev-support/docker/Dockerfile | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e1e11ad6/dev-support/docker/Dockerfile
----------------------------------------------------------------------
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 93e09a5..35bf927 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -70,17 +70,14 @@ 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-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
-RUN apt-get -q install -y oracle-java7-installer
-
-# 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 -y oracle-java7-installer
+RUN apt-get -q update && apt-get -q install --no-install-recommends -y oracle-java8-installer
 
 ####
 # Apps that require Java


Mime
View raw message