This is an automated email from the ASF dual-hosted git repository.
reidchan pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 633d966 HBASE-25845 [branch-1] Precommit fails to build docker due to
python-dateutil (#3227)
633d966 is described below
commit 633d966bfe7919acf0a35121587f806e95a5f1d9
Author: Reid Chan <[email protected]>
AuthorDate: Tue May 4 14:54:03 2021 +0800
HBASE-25845 [branch-1] Precommit fails to build docker due to
python-dateutil (#3227)
---
dev-support/docker/Dockerfile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index abd3655..5dbe2ba 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -61,6 +61,7 @@ RUN apt-get -q update && apt-get -q install
--no-install-recommends -y \
python2.7 \
python-pip \
pylint \
+ python-dateutil \
rsync \
snappy \
xz-utils \
@@ -113,11 +114,6 @@ RUN mkdir -p /opt/findbugs && \
ENV FINDBUGS_HOME /opt/findbugs
####
-# Install dateutil.parser
-####
-RUN pip install python-dateutil
-
-####
# Install Ruby 2, based on Yetus 0.4.0 dockerfile
###
RUN echo 'gem: --no-rdoc --no-ri' >> /root/.gemrc