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 2021/10/22 16:12:25 UTC

[hbase] branch HBASE-26393 created (now c8d19bd)

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

zhangduo pushed a change to branch HBASE-26393
in repository https://gitbox.apache.org/repos/asf/hbase.git.


      at c8d19bd  HBASE-26393 The dockerfile for running pre commit and nightly jobs can not be built on branch-1

This branch includes the following new commits:

     new c8d19bd  HBASE-26393 The dockerfile for running pre commit and nightly jobs can not be built on branch-1

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[hbase] 01/01: HBASE-26393 The dockerfile for running pre commit and nightly jobs can not be built on branch-1

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c8d19bdc55d861c92885428f8814859f3c09c651
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Sat Oct 23 00:07:48 2021 +0800

    HBASE-26393 The dockerfile for running pre commit and nightly jobs can not be built on branch-1
---
 dev-support/docker/Dockerfile | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 5dbe2ba..0eb0fc3 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -19,7 +19,7 @@
 # See BUILDING.txt.
 
 
-FROM ubuntu:trusty
+FROM ubuntu:18.04
 
 WORKDIR /root
 
@@ -63,10 +63,12 @@ RUN apt-get -q update && apt-get -q install --no-install-recommends -y \
     pylint \
     python-dateutil \
     rsync \
-    snappy \
+    libsnappy-dev \
     xz-utils \
     zlib1g-dev \
-    wget
+    wget \
+    gpg \
+    dirmngr
 
 ####
 # Apps that require Java.
@@ -90,13 +92,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-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x219BD9C9
-RUN apt-get -q update && apt-get -q install --no-install-recommends -y software-properties-common python-software-properties
+RUN apt-get -q update && apt-get -q install --no-install-recommends -y software-properties-common
 RUN apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'
 RUN apt-get -q update
 RUN apt-get -q install --no-install-recommends -y zulu-8 zulu-7
 RUN update-alternatives --config java
 RUN update-alternatives --config javac
-RUN mv /usr/lib/jvm/java-7-openjdk-amd64 /usr/lib/jvm/moved.java-7-openjdk-amd64
 ENV JAVA_HOME /usr/lib/jvm/zulu-7-amd64
 
 # Fixing the Apache commons / Maven dependency problem under Ubuntu: