amosbird commented on a change in pull request #7838: URL: https://github.com/apache/incubator-doris/pull/7838#discussion_r790241755
########## File path: docker/Dockerfile ########## @@ -18,67 +18,39 @@ FROM centos:7 AS builder # install dependencies -RUN yum makecache && yum -y update && yum -y groupinstall 'Development Tools' && \ - yum install -y byacc automake java-11-openjdk-devel java-1.8.0-openjdk-devel libtool bison binutils-devel zip \ - unzip ncurses-devel curl git wget python2 glibc-static java-1.8.0-openjdk-devel ccache \ - libstdc++-static which psl libpsl-devel centos-release-scl && \ - yum install -y devtoolset-10 devtoolset-10-gcc devtoolset-10-libubsan-devel devtoolset-10-liblsan-devel \ - devtoolset-10-libasan-devel +RUN yum install -y byacc patch automake libtool make which file ncurses-devel gettext-devel unzip bzip2 zip util-linux wget git python2 \ + bison java-11-openjdk-devel java-1.8.0-openjdk-devel -# build cmake -ARG CMAKE_VERSION=3.22.1 -ARG CMAKE_BASE_URL=https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION} -RUN wget ${CMAKE_BASE_URL}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh -q -O /tmp/cmake-install.sh && \ - chmod u+x /tmp/cmake-install.sh && \ - /tmp/cmake-install.sh --skip-license --prefix=/usr --exclude-subdir && \ - rm /tmp/cmake-install.sh - -# build ninja -ARG NINJA_VER=1.10.2 -ARG NINJA_BASE_URL=https://github.com/ninja-build/ninja/releases/download/v${NINJA_VER} -RUN wget -q ${NINJA_BASE_URL}/ninja-linux.zip -O /tmp/ninja-linux.zip && \ - unzip /tmp/ninja-linux.zip -d /usr/bin/ && \ - rm /tmp/ninja-linux.zip +# install ninjia +RUN wget -q -O /tmp/ninja-linux.zip https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/ninja-linux.zip \ Review comment: I guess we can remove this too as ldb toolchain also contains ninja. -- 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]
