yangzhg commented on a change in pull request #5380:
URL: https://github.com/apache/incubator-doris/pull/5380#discussion_r590936707



##########
File path: docker/Dockerfile
##########
@@ -15,87 +15,75 @@
 # specific language governing permissions and limitations
 # under the License.
 
-FROM centos:centos7.5.1804
+FROM centos:7 AS builder
 
-LABEL maintainer=tangxiaoqing214445
+# install gcc-10 repo
+RUN echo $'\
+[ol7_software_collections]\n\
+name=Software Collection packages for Oracle Linux 7 ($basearch)\n\
+baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/SoftwareCollections/$basearch/\n\
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle\n\
+gpgcheck=1\n\
+enabled=1' >> /etc/yum.repos.d/CentOS-SCLo-scl.ol.repo
 
-ENV DEFAULT_DIR /var/local
+# install dependencies

Review comment:
       the origin Dockerfile is renamed to Dockerfile.gcc7  this is gcc10 
dockerfile




----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to