From 2eff0871091ce62b6b4f943c2d54143dabfade48 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Tue, 16 Sep 2025 00:03:12 +0000 Subject: [PATCH] 24.03-lts-sp2 update varnish to 8.0.0 --- Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile | 25 +++++++++++++++++++ Others/varnish/README.md | 1 + Others/varnish/doc/image-info.yml | 3 ++- Others/varnish/meta.yml | 4 ++- 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile diff --git a/Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile b/Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..e2295166 --- /dev/null +++ b/Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,25 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} +ARG VERSION=8.0.0 + +RUN dnf update -y \ + && dnf install -y wget diffutils jemalloc-devel libunwind-devel \ + python3-sphinx make autoconf automake libedit-devel libtool \ + ncurses-devel pcre2-devel pkgconfig python3-docutils cpio graphviz \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +WORKDIR /opt + +RUN wget https://varnish-cache.org/downloads/varnish-${VERSION}.tgz \ + && tar -zxvf varnish-${VERSION}.tgz \ + && rm -f varnish-${VERSION}.tgz + +WORKDIR /opt/varnish-${VERSION} + +RUN ./autogen.sh \ + && ./configure \ + && make -j \ + && make install + +CMD ["varnishd", "--help"] \ No newline at end of file diff --git a/Others/varnish/README.md b/Others/varnish/README.md index ed796d40..53fff48f 100644 --- a/Others/varnish/README.md +++ b/Others/varnish/README.md @@ -18,6 +18,7 @@ The tag of each `varnish` docker image is consist of the version of `varnish` an | Tag | Currently | Architectures | |----------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|------------------| +|[8.0.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile) | varnish 8.0.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | | [7.7.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/varnish/7.7.1/24.03-lts-sp1/Dockerfile) | Varnish Cache 7.7.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/varnish/doc/image-info.yml b/Others/varnish/doc/image-info.yml index 14e235d2..cda0b2a4 100644 --- a/Others/varnish/doc/image-info.yml +++ b/Others/varnish/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[8.0.0-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/varnish/8.0.0/24.03-lts-sp2/Dockerfile) | varnish 8.0.0 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[7.7.1-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/varnish/7.7.1/24.03-lts-sp1/Dockerfile)| varnish 7.7.1 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | @@ -75,4 +76,4 @@ dependency: - pcre - libtool - jemalloc - - libunwind + - libunwind \ No newline at end of file diff --git a/Others/varnish/meta.yml b/Others/varnish/meta.yml index 39aaadc4..ff760e7b 100644 --- a/Others/varnish/meta.yml +++ b/Others/varnish/meta.yml @@ -2,4 +2,6 @@ path: 7.7.1/24.03-lts-sp1/Dockerfile 7.7.2-oe2403sp1: - path: 7.7.2/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 7.7.2/24.03-lts-sp1/Dockerfile +8.0.0-oe2403sp2: + path: 8.0.0/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee