@@ -26,7 +26,7 @@ ARG AUTOMAKE_VERSION="1.16.3"
2626ARG PERL_VERSION="5.20.2"
2727ARG PERL_CPANVERSION="5.0"
2828ARG PCRE_VERSION="8.44"
29- ARG NGINX_VERSION="1.27 .3"
29+ ARG NGINX_VERSION="1.29 .3"
3030
3131# create default non-root user
3232RUN groupadd -r swuser && useradd -u 1000 -g swuser -m -s /sbin/nologin -c "default non-root user" swuser
@@ -283,10 +283,10 @@ RUN echo "[nginx]" > /etc/yum.repos.d/nginx.repo && \
283283# Install necessary tools
284284RUN dnf install -y wget && dnf clean all
285285
286- # Download and install Nginx 1.27 .3 from the correct path
287- RUN wget https://nginx.org/packages/mainline/centos/8/x86_64/RPMS/nginx-1.27 .3-1.el8.ngx.x86_64.rpm && \
288- dnf install -y ./nginx-1.27 .3-1.el8.ngx.x86_64.rpm && \
289- rm -f nginx-1.27 .3-1.el8.ngx.x86_64.rpm && \
286+ # Download and install Nginx 1.29 .3 from the correct path
287+ RUN wget https://nginx.org/packages/mainline/centos/8/x86_64/RPMS/nginx-1.29 .3-1.el8.ngx.x86_64.rpm && \
288+ dnf install -y ./nginx-1.29 .3-1.el8.ngx.x86_64.rpm && \
289+ rm -f nginx-1.29 .3-1.el8.ngx.x86_64.rpm && \
290290 dnf clean all
291291
292292
@@ -302,7 +302,7 @@ RUN cd /otel-webserver-module/build \
302302 && cd /
303303
304304RUN cp /otel-webserver-module/conf/nginx/opentelemetry_module.conf /opt/ \
305- && sed -i '8i load_module /opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.27 .3/ngx_http_opentelemetry_module.so;' /etc/nginx/nginx.conf \
305+ && sed -i '8i load_module /opt/opentelemetry-webserver-sdk/WebServerModule/Nginx/1.29 .3/ngx_http_opentelemetry_module.so;' /etc/nginx/nginx.conf \
306306 && sed -i '33i include /opt/opentelemetry_module.conf;' /etc/nginx/nginx.conf \
307307 && cd /
308308
0 commit comments