From af52a0bfa9728873aff8e92508f42a140dcd1979 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Wed, 24 Sep 2025 00:08:55 +0000 Subject: [PATCH] 24.03-lts-sp2 update nginx to 1.29.1 --- Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile | 45 +++++++++++++++++++++ Cloud/nginx/README.md | 3 +- Cloud/nginx/doc/image-info.yml | 1 + Cloud/nginx/meta.yml | 4 +- 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile diff --git a/Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile b/Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..1f220c26 --- /dev/null +++ b/Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile @@ -0,0 +1,45 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=1.29.1 + +RUN yum -y install gcc openssl-devel make libxml2-devel libxslt-devel gd-devel perl-devel\ + GeoIP-devel gperftools-devel && \ + yum clean all && \ + curl -o /tmp/nginx.tar.gz https://nginx.org/download/nginx-${VERSION}.tar.gz && \ + tar -zxvf /tmp/nginx.tar.gz -C /tmp && \ + cd /tmp/nginx-${VERSION} && \ + mkdir -p /var/tmp/nginx/ && \ + ./configure \ + --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx \ + --modules-path=/usr/local/nginx/modules --conf-path=/etc/nginx/nginx.conf \ + --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log \ + --http-client-body-temp-path=/var/tmp/nginx/client \ + --http-fastcgi-temp-path=/var/tmp/nginx/fcgi \ + --http-proxy-temp-path=/var/tmp/nginx/proxy \ + --http-scgi-temp-path=/var/tmp/nginx/scgi \ + --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi \ + --pid-path=/var/run/nginx.pid \ + --lock-path=/var/run/nginx.lock \ + --with-file-aio --with-ipv6 --with-http_ssl_module --with-http_v2_module \ + --with-http_realip_module --with-http_addition_module \ + --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic \ + --with-http_geoip_module=dynamic --with-http_sub_module \ + --with-http_dav_module --with-http_flv_module --with-http_mp4_module \ + --with-http_gunzip_module --with-http_gzip_static_module \ + --with-http_random_index_module --with-http_secure_link_module \ + --with-http_degradation_module --with-http_slice_module \ + --with-http_perl_module=dynamic --with-http_auth_request_module \ + --with-mail=dynamic --with-mail_ssl_module --with-openssl-opt=yes \ + --with-pcre --with-pcre-jit --with-stream=dynamic \ + --with-stream_ssl_module --with-google_perftools_module --with-debug && \ + make && make install && \ + rm -rf /tmp/nginx.tar.gz /tmp/nginx-${VERSION} + +ENV PATH /usr/local/nginx:$PATH +WORKDIR /usr/local/nginx/html + + +EXPOSE 80 +ENTRYPOINT ["nginx", "-g", "daemon off;"] diff --git a/Cloud/nginx/README.md b/Cloud/nginx/README.md index 84d65e0a..c3ff3d43 100644 --- a/Cloud/nginx/README.md +++ b/Cloud/nginx/README.md @@ -22,6 +22,7 @@ Features: The tag of each `nginx` docker image is consist of the version of `nginx` and the version of basic image. The details are as follows | Tag | Currently | Architectures | |----------|-------------|------------------| +|[1.29.1-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile) | nginx 1.29.1 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.16.1-oe2003sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.16.1/20.03-lts-sp1/Dockerfile)| Nginx 1.16.1 on openEuler 20.03-LTS-SP1 | amd64, arm64 | |[1.21.5-oe2203lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.21.5/22.03-lts/Dockerfile)| Nginx 1.21.5 on openEuler 22.03-LTS | amd64, arm64 | |[1.25.4-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.25.4/22.03-lts-sp3/Dockerfile)| Nginx 1.25.4 on openEuler 22.03-LTS-SP3 | amd64, arm64 | @@ -72,4 +73,4 @@ In this usage, users can select the corresponding `{Tag}` and `container startup ``` # Question and answering -If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Cloud/nginx/doc/image-info.yml b/Cloud/nginx/doc/image-info.yml index c2e9404a..6c8f2c01 100644 --- a/Cloud/nginx/doc/image-info.yml +++ b/Cloud/nginx/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[1.29.1-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.29.1/24.03-lts-sp2/Dockerfile) | nginx 1.29.1 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.16.1-oe2003sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.16.1/20.03-lts-sp1/Dockerfile)| Nginx 1.16.1 on openEuler 20.03-LTS-SP1 | amd64, arm64 | |[1.21.5-oe2203lts](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.21.5/22.03-lts/Dockerfile)| Nginx 1.21.5 on openEuler 22.03-LTS | amd64, arm64 | |[1.25.4-oe2203sp3](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Cloud/nginx/1.25.4/22.03-lts-sp3/Dockerfile)| Nginx 1.25.4 on openEuler 22.03-LTS-SP3 | amd64, arm64 | diff --git a/Cloud/nginx/meta.yml b/Cloud/nginx/meta.yml index 23abce33..5fd66eb9 100644 --- a/Cloud/nginx/meta.yml +++ b/Cloud/nginx/meta.yml @@ -24,4 +24,6 @@ path: 1.29.0/24.03-lts/Dockerfile 1.29.1-oe2403sp1: - path: 1.29.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 1.29.1/24.03-lts-sp1/Dockerfile +1.29.1-oe2403sp2: + path: 1.29.1/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee