You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/03/08 08:02:00 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a change in pull request #5380: update Dockerfile using gcc 10

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



##########
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:
       Has the size been compared with the previous docker image?




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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org