mirror of
https://abf.rosa.ru/djam/docker.git
synced 2025-02-23 17:42:47 +00:00
26.1.3
This commit is contained in:
parent
b6780d1ce8
commit
5a488cb16a
1 changed files with 9 additions and 1 deletions
10
docker.spec
10
docker.spec
|
@ -14,11 +14,14 @@
|
|||
%global commit 659604f9ee60f147020bdd444b26e4b5c636dc28
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%define _libexec /usr/libexec
|
||||
%define _dockerpluginsdir %{_libexec}/docker/cli-plugins
|
||||
|
||||
Summary: Automates deployment of containerized applications
|
||||
Name: docker
|
||||
Version: 26.1.3
|
||||
%global moby_version %{version}
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: ASL 2.0
|
||||
Epoch: 1
|
||||
Group: System/Configuration/Other
|
||||
|
@ -65,6 +68,7 @@ Requires: containerd
|
|||
Recommends: runc
|
||||
Requires: crun
|
||||
Requires: docker-compose
|
||||
Recommends: docker-buildx
|
||||
# need xz to work with ubuntu images
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1045220
|
||||
Requires: xz
|
||||
|
@ -168,6 +172,8 @@ cd cli-%{version}
|
|||
DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=%{moby_version} LDFLAGS="-linkmode=external" dynbinary
|
||||
cd ..
|
||||
|
||||
# buildx
|
||||
# buildx move to docker-buildx package
|
||||
|
||||
%install
|
||||
# install binaries
|
||||
|
@ -177,6 +183,8 @@ install -d %{buildroot}%{_sbindir}
|
|||
install -p -m 755 bundles/dynbinary-daemon/dockerd %{buildroot}%{_sbindir}/dockerd
|
||||
install -p -m 755 libnetwork/proxy %{buildroot}%{_bindir}/docker-proxy
|
||||
install -p -m 755 tini/build/tini-static %{buildroot}%{_bindir}/docker-init
|
||||
install -d %{buildroot} %{_dockerpluginsdir}
|
||||
install -Dm0755 buildx/buildx %{buildroot} %{_dockerpluginsdir}/docker-buildx
|
||||
|
||||
# Place to store images
|
||||
install -d %{buildroot}%{_var}/lib/docker
|
||||
|
|
Loading…
Add table
Reference in a new issue