From b6eaa7f35cba89f93a669d17099e034d2d5e92ff Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Tue, 11 Nov 2025 00:18:09 +0000 Subject: [PATCH] 24.03-lts-sp2 update dhcp to 4.4.3 --- Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile | 20 ++++++++++++++++++++ Others/dhcp/README.md | 1 + Others/dhcp/doc/image-info.yml | 1 + Others/dhcp/meta.yml | 3 +++ 4 files changed, 25 insertions(+) create mode 100644 Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile diff --git a/Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile b/Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..bc5106f5 --- /dev/null +++ b/Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} as BUILDER +ARG VERSION=4.4.3 + +RUN dnf update -y \ + && dnf install -y wget gcc-c++ make libtool perl \ + && dnf clean all \ + && rm -rf /var/cache/dnf + +RUN wget https://ftp.isc.org/isc/dhcp/${VERSION}/dhcp-${VERSION}.tar.gz \ + && tar -xf dhcp-${VERSION}.tar.gz \ + && rm -f dhcp-${VERSION}.tar.gz \ + && cd dhcp-${VERSION} \ + && ./configure --prefix=/usr/local/dhcp \ + && make -j$(nproc) \ + && make install + +RUN mkdir -p /var/db && touch /var/db/dhcpd.leases + +CMD ["/usr/local/dhcp/sbin/dhcpd", "--help"] \ No newline at end of file diff --git a/Others/dhcp/README.md b/Others/dhcp/README.md index f6a4ef31..559160c0 100644 --- a/Others/dhcp/README.md +++ b/Others/dhcp/README.md @@ -18,6 +18,7 @@ The tag of each `dhcp` docker image is consist of the version of `dhcp` and the | Tag | Currently | Architectures | |----------|-------------|------------------| +|[4.4.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile) | dhcp 4.4.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[4.4.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dhcp/4.4.3/24.03-lts-sp1/Dockerfile)| DHCP 4.4.3 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/dhcp/doc/image-info.yml b/Others/dhcp/doc/image-info.yml index f54227b4..f6ebeb3c 100644 --- a/Others/dhcp/doc/image-info.yml +++ b/Others/dhcp/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[4.4.3-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dhcp/4.4.3/24.03-lts-sp2/Dockerfile) | dhcp 4.4.3 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[4.4.3-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/dhcp/4.4.3/24.03-lts-sp1/Dockerfile)| DHCP 4.4.3 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Others/dhcp/meta.yml b/Others/dhcp/meta.yml index 2f7679a8..a5e340df 100644 --- a/Others/dhcp/meta.yml +++ b/Others/dhcp/meta.yml @@ -1,3 +1,6 @@ 4.4.3-oe2403sp1: path: 4.4.3/24.03-lts-sp1/Dockerfile + +4.4.3-oe2403sp2: + path: 4.4.3/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee