@@ -8,10 +8,10 @@ ENV GOSU_ARCH amd64
88ENV JDK_ARCH x64
99
1010ARG PYTHON_VERSION="2.7.8"
11- ARG CMAKE_VERSION="3.20 "
12- ARG CMAKE_0VERSION="3.20.0 "
11+ ARG CMAKE_VERSION="3.26 "
12+ ARG CMAKE_0VERSION="3.26.5 "
1313ARG GRPC_VERSION="1.36.4"
14- ARG OPENTELEMETRY_VERSION="1.2 .0"
14+ ARG OPENTELEMETRY_VERSION="1.23 .0"
1515ARG BOOST_VERSION="1.75.0"
1616ARG BOOST_FILENAME="boost_1_75_0"
1717ARG APR_VERSION="1.7.0"
@@ -58,7 +58,7 @@ RUN yum install -y epel-release && \
5858RUN dnf install -y gcc-toolset-14 && \
5959 dnf clean all
6060
61- ENV PATH="/opt/rh/gcc-toolset-9 /root/usr/bin:${PATH}"
61+ ENV PATH="/opt/rh/gcc-toolset-14 /root/usr/bin:${PATH}"
6262
6363# install python 2.7.8
6464RUN wget http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz \
@@ -92,18 +92,7 @@ RUN wget https://cmake.org/files/v${CMAKE_VERSION}/cmake-${CMAKE_0VERSION}-linux
9292 && cp -rf * /usr/local/ \
9393 && cd .. && rm -rf cmake-${CMAKE_0VERSION}-linux-x86_64.tar.gz
9494
95- # install grpc. If planning to upgrade, make sure sed command works
96- RUN git clone https://github.com/grpc/grpc \
97- && cd grpc \
98- && git checkout tags/v${GRPC_VERSION} -b v${GRPC_VERSION} \
99- && git submodule update --init \
100- && sed -i "s/target_link_libraries(bssl ssl crypto)/target_link_libraries(bssl ssl crypto rt)/g" third_party/boringssl-with-bazel/CMakeLists.txt \
101- && mkdir -p cmake/build \
102- && cd cmake/build \
103- && cmake ../.. -DgRPC_INSTALL=ON -DCMAKE_BUILD_TYPE=Release -DgRPC_ABSL_PROVIDER=module -DgRPC_CARES_PROVIDER=module -DgRPC_PROTOBUF_PROVIDER=module -DgRPC_RE2_PROVIDER=module -DgRPC_SSL_PROVIDER=module -DgRPC_ZLIB_PROVIDER=module \
104- && make \
105- && make install \
106- && cd ../../..
95+
10796
10897# Create dependencies folder to store all dependencies.
10998RUN mkdir -p dependencies
@@ -282,6 +271,7 @@ RUN dnf install -y wget && dnf clean all
282271
283272# Download and install Nginx 1.29.3 from the correct path
284273RUN wget https://nginx.org/packages/mainline/centos/8/x86_64/RPMS/nginx-1.29.3-1.el9.ngx.x86_64.rpm && \
274+
285275 dnf install -y ./nginx-1.29.3-1.el9.ngx.x86_64.rpm && \
286276 rm -f nginx-1.29.3-1.el9.ngx.x86_64.rpm && \
287277 dnf clean all
0 commit comments