From c615bde73a1467ea737731190361b6f6b3313d5f Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Sat, 8 Nov 2025 00:06:32 +0000 Subject: [PATCH] 24.03-lts-sp2 update apr-util to 1.6.3 --- .../apr-util/1.6.3/24.03-lts-sp2/Dockerfile | 40 +++++++++++++++++++ Others/apr-util/README.md | 1 + Others/apr-util/doc/image-info.yml | 1 + Others/apr-util/meta.yml | 3 ++ 4 files changed, 45 insertions(+) create mode 100644 Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile diff --git a/Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile b/Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..241f51ec --- /dev/null +++ b/Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile @@ -0,0 +1,40 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} as BUILDER +ARG VERSION=1.6.3 +ARG APR_VERSION=1.7.6 + +RUN dnf update -y && \ + dnf install -y \ + wget \ + gcc \ + make \ + libtool \ + pkg-config \ + expat-devel \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN wget https://dlcdn.apache.org/apr/apr-${APR_VERSION}.tar.gz \ + && tar -zxvf apr-${APR_VERSION}.tar.gz \ + && cd apr-${APR_VERSION} \ + && ./configure --prefix=/usr/local/apr \ + && make -j$(nproc) \ + && make install \ + && cd .. \ + && rm -rf apr-${APR_VERSION}* + +RUN wget https://dlcdn.apache.org/apr/apr-util-${VERSION}.tar.gz \ + && tar -zxvf apr-util-${VERSION}.tar.gz \ + && cd apr-util-${VERSION} \ + && ./configure --prefix=/usr/local/apr --with-apr=/usr/local/apr \ + && make -j$(nproc) \ + && make install \ + && cd .. \ + && rm -rf apr-util-${VERSION}* + +ENV LD_LIBRARY_PATH=/usr/local/apr/lib:$LD_LIBRARY_PATH +ENV PKG_CONFIG_PATH=/usr/local/apr/lib/pkgconfig:$PKG_CONFIG_PATH + +CMD ["/usr/local/apr/bin/apu-1-config", "--version"] \ No newline at end of file diff --git a/Others/apr-util/README.md b/Others/apr-util/README.md index e6ace332..b9554ff1 100644 --- a/Others/apr-util/README.md +++ b/Others/apr-util/README.md @@ -18,6 +18,7 @@ The tag of each `apr-util` docker image is consist of the version of `apr-util` | Tag | Currently | Architectures | |----------|-------------|------------------| +|[1.6.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile) | apr 1.6.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.6.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/apr-util/1.6.3/24.03-lts-sp1/Dockerfile)| APR-util 1.6.3 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/apr-util/doc/image-info.yml b/Others/apr-util/doc/image-info.yml index f23e2fb9..69548c5a 100644 --- a/Others/apr-util/doc/image-info.yml +++ b/Others/apr-util/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[1.6.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/apr-util/1.6.3/24.03-lts-sp2/Dockerfile) | apr 1.6.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.6.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/apr-util/1.6.3/24.03-lts-sp1/Dockerfile)| APR-util 1.6.3 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Others/apr-util/meta.yml b/Others/apr-util/meta.yml index a0e1fdc7..607464e1 100644 --- a/Others/apr-util/meta.yml +++ b/Others/apr-util/meta.yml @@ -1,2 +1,5 @@ 1.6.3-oe2403sp1: path: 1.6.3/24.03-lts-sp1/Dockerfile + +1.6.3-oe2403sp2: + path: 1.6.3/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee