dokcerfile升级GCC方法
RUN wget http://ftp.gnu.org/gnu/gcc/gcc-6.5.0/gcc-6.5.0.tar.gz && \
tar -zvxf gcc-6.5.0.tar.gz --remove-files && cd gcc-6.5.0 && \
sed -i 's/ftp:\/\/gcc.gnu.org\/pub\/gcc\/infrastructure/http:\/\/mirror.linux-ia64.org\/gnu\/gcc\/infrastructure/g' contrib/download_prerequisites && \
./contrib/download_prerequisites && \
./configure --disable-multilib && \
make -j`nproc` && \
make install -j`nproc` && \
cd .. && \
rm -rf gcc-6.5.0