ndimiduk commented on a change in pull request #1250: HBASE-23945 Dockerfiles 
showing hadolint check failures
URL: https://github.com/apache/hbase/pull/1250#discussion_r389309088
 
 

 ##########
 File path: dev-support/Dockerfile
 ##########
 @@ -22,8 +22,14 @@
 # dev-support/flaky-tests/flaky-reporting.Jenkinsfile
 FROM ubuntu:18.04
 
-ADD . /hbase/dev-support
+COPY . /hbase/dev-support
 
-RUN apt-get -y update \
-    && apt-get -y install curl python-pip \
-    && pip install -r /hbase/dev-support/python-requirements.txt
+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.04 \
+      python-pip=9.0.1-2.3~ubuntu1.18.04.1 \
+      python-setuptools=39.0.1-2 \
 
 Review comment:
   This one has a new dependency on `python-setuptools`, so that's added.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to