From 7220c8cfe0256b9e286379f323fac63b54b668a9 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Fri, 15 Aug 2025 10:15:26 +0000 Subject: [PATCH] 24.03-lts-sp1 update tengine to 3.1.0 --- .../tengine/3.1.0/24.03-lts-sp1/Dockerfile | 19 +++++++++++++++++++ Database/tengine/meta.yml | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 Database/tengine/3.1.0/24.03-lts-sp1/Dockerfile diff --git a/Database/tengine/3.1.0/24.03-lts-sp1/Dockerfile b/Database/tengine/3.1.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..5eb0aa03 --- /dev/null +++ b/Database/tengine/3.1.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} + +ARG VERSION=3.1.0 +ENV TENGINE_URL=https://tengine.taobao.org/download/tengine-${VERSION}.tar.gz + +RUN yum install -y gcc make zlib-devel pcre-devel openssl-devel jemalloc-devel chkconfig && \ + yum clean all + +WORKDIR /tengine + +RUN curl -fSL -o tengine.tar.gz ${TENGINE_URL} && \ + tar -xzf tengine.tar.gz --strip-components=1 && \ + rm tengine.tar.gz + +RUN ./configure --prefix=/usr/local/nginx --with-jemalloc && \ + make -j$nproc && \ + make install && \ + rm -rf /tengine diff --git a/Database/tengine/meta.yml b/Database/tengine/meta.yml index d8d03f08..478481c2 100644 --- a/Database/tengine/meta.yml +++ b/Database/tengine/meta.yml @@ -1,2 +1,4 @@ 2.4.1-oe2403sp1: - path: 2.4.1/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 2.4.1/24.03-lts-sp1/Dockerfile +3.1.0-oe2403sp1: + path: 3.1.0/24.03-lts-sp1/Dockerfile \ No newline at end of file -- Gitee