Skip to content

Commit 7d5c8b4

Browse files
fixes
1 parent d0f2178 commit 7d5c8b4

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

instrumentation/otel-webserver-module/docker/centos8/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ENV GOSU_ARCH amd64
88
ENV JDK_ARCH x64
99

1010
ARG 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"
1313
ARG GRPC_VERSION="1.36.4"
14-
ARG OPENTELEMETRY_VERSION="1.2.0"
14+
ARG OPENTELEMETRY_VERSION="1.23.0"
1515
ARG BOOST_VERSION="1.75.0"
1616
ARG BOOST_FILENAME="boost_1_75_0"
1717
ARG APR_VERSION="1.7.0"

instrumentation/otel-webserver-module/docker/centos9/Dockerfile

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ENV GOSU_ARCH amd64
88
ENV JDK_ARCH x64
99

1010
ARG 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"
1313
ARG GRPC_VERSION="1.36.4"
14-
ARG OPENTELEMETRY_VERSION="1.2.0"
14+
ARG OPENTELEMETRY_VERSION="1.23.0"
1515
ARG BOOST_VERSION="1.75.0"
1616
ARG BOOST_FILENAME="boost_1_75_0"
1717
ARG APR_VERSION="1.7.0"
@@ -58,7 +58,7 @@ RUN yum install -y epel-release && \
5858
RUN 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
6464
RUN 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.
10998
RUN 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
284273
RUN 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

Comments
 (0)