foreverneverer commented on code in PR #1045:
URL: https://github.com/apache/incubator-pegasus/pull/1045#discussion_r927346415


##########
docker/pegasus-build-env/centos6/Dockerfile:
##########
@@ -20,16 +20,16 @@ FROM centos:6.10
 LABEL maintainer=jiashuo
 
 # defaut repo url hasn't been supported, use thirdparty repo url
-RUN curl https://www.getpagespeed.com/files/centos6-eol.repo --output 
/etc/yum.repos.d/CentOS-Base.repo
-RUN curl https://www.getpagespeed.com/files/centos6-epel-eol.repo --output 
/etc/yum.repos.d/epel.repo
-RUN curl https://www.getpagespeed.com/files/centos6-scl-eol.repo --output 
/etc/yum.repos.d/CentOS-SCLo-scl.repo
-RUN curl https://www.getpagespeed.com/files/centos6-scl-rh-eol.repo --output 
/etc/yum.repos.d/CentOS-SCLo-scl-rh.repo
+RUN wget --progress=dot:giga 
https://www.getpagespeed.com/files/centos6-eol.repo -O 
/etc/yum.repos.d/CentOS-Base.repo

Review Comment:
   > 2\. curl get the file thrift-0.11.0.tgz, I failed. So I fix curl before to 
wget.
   
   thrift can be fetched by `wget`, but the centos6-epel-eol.repo...., should 
use `curl`
   
   Or you can test, whether `wget` exist or not for the new centos6 env. I 
remember it don't have 



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

To unsubscribe, e-mail: [email protected]

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