nwangtw commented on a change in pull request #3552:
URL: https://github.com/apache/incubator-heron/pull/3552#discussion_r447489260



##########
File path: docker/dist/Dockerfile.dist.centos7
##########
@@ -17,21 +17,17 @@
 
 FROM centos:centos7
 
-RUN yum -y upgrade
-RUN yum -y install python; yum clean all
-RUN yum -y install unzip; yum clean all
-RUN yum -y install which; yum clean all
-RUN yum -y install curl; yum clean all
-RUN yum -y install nmap-ncat; yum clean all
-RUN yum -y install python python3-setuptools; yum clean all
-
-RUN yum install epel-release; yum clean all
-RUN yum update -y
-RUN yum install -y supervisor; yum clean all
-
-RUN yum -y install java-11-openjdk java-11-openjdk-devel; yum clean all
-
-ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
+RUN yum -y install epel-release \
+    && yum -y update \
+    && yum -y install \
+    curl \
+    java-11-openjdk-headless \

Review comment:
       is there a jre version for centos7 as well?




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to