You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2020/06/25 14:26:23 UTC

[hbase] branch branch-2 updated: HBASE-24631 Loosen Dockerfile pinned package versions of the "debian-revision" (#1965)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new eb16b4a  HBASE-24631 Loosen Dockerfile pinned package versions of the "debian-revision" (#1965)
eb16b4a is described below

commit eb16b4a7827755a4cc0299f2dfad78d6cc76d9b7
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Thu Jun 25 06:24:10 2020 -0700

    HBASE-24631 Loosen Dockerfile pinned package versions of the "debian-revision" (#1965)
    
    After a bit of research into [0] and [1], and a bit of
    experimentation, it seems we can use a partial wild-card expression
    for these version strings. Let's try this for now. If it works out, we
    should expand this usage to all the version package numbers, pinning
    them to their epic:upstream-version components.
    
    [0]: http://manpages.ubuntu.com/manpages/xenial/en/man5/deb-version.5.html
    [1]: http://manpages.ubuntu.com/manpages/xenial/man8/apt-get.8.html
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
    Signed-off-by: Duo Zhang <zh...@apache.org>
---
 dev-support/Dockerfile              |  8 ++++----
 dev-support/docker/Dockerfile       | 28 ++++++++++++++--------------
 dev-support/hbase_docker/Dockerfile |  6 +++---
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/dev-support/Dockerfile b/dev-support/Dockerfile
index 9f87cec..923e265 100644
--- a/dev-support/Dockerfile
+++ b/dev-support/Dockerfile
@@ -26,10 +26,10 @@ COPY . /hbase/dev-support
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get -qq -y update \
     && DEBIAN_FRONTEND=noninteractive apt-get -qq -y install --no-install-recommends \
-      curl=7.58.0-2ubuntu3.8 \
-      python2.7=2.7.17-1~18.04ubuntu1 \
-      python-pip=9.0.1-2.3~ubuntu1.18.04.1 \
-      python-setuptools=39.0.1-2 \
+      curl='7.58.0-*' \
+      python2.7='2.7.17-*' \
+      python-pip='9.0.1-*' \
+      python-setuptools='39.0.1-*' \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*
 RUN pip install -r /hbase/dev-support/python-requirements.txt
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 195c14a..6482144 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -27,8 +27,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
 RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
   DEBIAN_FRONTEND=noninteractive apt-get -qq install --no-install-recommends -y \
     ca-certificates=20180409 \
-    curl=7.58.0-2ubuntu3.8 \
-    locales=2.27-3ubuntu1 \
+    curl='7.58.0-*' \
+    locales='2.27-*' \
 ##
 # install dependencies from system packages.
 # be careful not to install any system packages (i.e., findbugs) that will
@@ -36,23 +36,23 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
 #
 # bring the base image into conformance with the expectations imposed by
 # Yetus and our personality file of what a build environment looks like.
-    bash=4.4.18-2ubuntu1.2 \
+    bash='4.4.18-*' \
     build-essential=12.4ubuntu1 \
-    diffutils=1:3.6-1 \
-    git=1:2.17.1-1ubuntu0.7 \
-    rsync=3.1.2-2.1ubuntu1 \
-    tar=1.29b-2ubuntu0.1 \
-    wget=1.19.4-1ubuntu2.2 \
+    diffutils='1:3.6-*' \
+    git='1:2.17.1-*' \
+    rsync='3.1.2-*' \
+    tar='1.29b-*' \
+    wget='1.19.4-*' \
 # install the dependencies required in order to enable the sundry precommit
 # checks/features provided by Yetus plugins.
-    bats=0.4.0-1.1 \
-    libperl-critic-perl=1.130-1 \
-    python3=3.6.7-1~18.04 \
-    python3-pip=9.0.1-2.3~ubuntu1.18.04.1 \
-    python3-setuptools=39.0.1-2 \
+    bats='0.4.0-*' \
+    libperl-critic-perl='1.130-*' \
+    python3='3.6.7-*' \
+    python3-pip='9.0.1-*' \
+    python3-setuptools='39.0.1-*' \
     ruby=1:2.5.1 \
     ruby-dev=1:2.5.1 \
-    shellcheck=0.4.6-1 \
+    shellcheck='0.4.6-*' \
     && \
     apt-get clean && \
     rm -rf /var/lib/apt/lists/*
diff --git a/dev-support/hbase_docker/Dockerfile b/dev-support/hbase_docker/Dockerfile
index 78aa09a..58d35af 100644
--- a/dev-support/hbase_docker/Dockerfile
+++ b/dev-support/hbase_docker/Dockerfile
@@ -20,9 +20,9 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
 RUN DEBIAN_FRONTEND=noninteractive apt-get -qq update && \
   DEBIAN_FRONTEND=noninteractive apt-get -qq install --no-install-recommends -y \
     ca-certificates=20180409 \
-    curl=7.58.0-2ubuntu3.8 \
-    git=1:2.17.1-1ubuntu0.7 \
-    locales=2.27-3ubuntu1 \
+    curl='7.58.0-*' \
+    git='1:2.17.1-*' \
+    locales='2.27-*' \
     && \
     apt-get clean && \
     rm -rf /var/lib/apt/lists/*