hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [2/5] hbase git commit: HBASE-17985 Inline apt-get update calls in Yetus Dockerfile
Date Tue, 02 May 2017 21:37:30 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/58c504e7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/58c504e7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/58c504e7

Branch: refs/heads/branch-1
Commit: 58c504e701758db88fc9260a164debef65103c36
Parents: d2fcfd7
Author: Josh Elser <elserj@apache.org>
Authored: Tue May 2 15:49:22 2017 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue May 2 17:33:32 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/58c504e7/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