fix bug by using docker-proxy in the source file to get better compatibility

This commit is contained in:
bwzhang 2024-07-02 17:25:43 +08:00
parent b492a7df97
commit a786aaffbb

View File

@ -7,7 +7,7 @@
Name: docker
Version: 25.0.3
Release: 7
Release: 8
Summary: The open-source application container engine
License: ASL 2.0
URL: https://www.docker.com
@ -72,7 +72,6 @@ BuildRequires: systemd-devel
BuildRequires: tar
BuildRequires: which
BuildRequires: golang >= 1.18.0
BuildRequires: docker-proxy
%description engine
Docker daemon binary and related utilities
@ -135,7 +134,7 @@ ver="$(%{_builddir}/%{_source_client}/build/docker --version)"; \
install -D -p -m 0755 $(readlink -f %{_builddir}/%{_source_engine}/bundles/dynbinary-daemon/dockerd) %{buildroot}%{_bindir}/dockerd
# install proxy
install -D -p -m 0755 /usr/bin/docker-proxy %{buildroot}%{_bindir}/docker-proxy
install -D -p -m 0755 %{_builddir}/%{_source_engine}/bundles/dynbinary-daemon/docker-proxy %{buildroot}%{_bindir}/docker-proxy
# install tini
install -D -p -m 755 %{_builddir}/%{_source_docker_init}/tini-static %{buildroot}%{_bindir}/docker-init
@ -193,6 +192,12 @@ fi
%systemd_postun_with_restart docker.service
%changelog
* Tue Jul 02 2024 zhangbowei<zhangbowei@kylinos.cn> - 25.0.3-8
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix bug by using docker-proxy in the source file to get better compatibility
* Fri Jun 28 2024 shechenglong<shechenglong@xfusion.com> - 25.0.3-7
- DESC:software package name moby is changed to docker