forked from pool/docker
Accepting request 1094114 from home:danishprakash:branches:Virtualization:containers
Add docker-rootless-extras subpackage OBS-URL: https://build.opensuse.org/request/show/1094114 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=388
This commit is contained in:
parent
b01ab91157
commit
3097949032
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 15:28:13 UTC 2023 - Danish Prakash <danish.prakash@suse.com>
|
||||
|
||||
- Add docker-rootless-extras subpackage
|
||||
(https://docs.docker.com/engine/security/rootless)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 14 13:02:01 UTC 2023 - Aleksa Sarai <asarai@suse.com>
|
||||
|
||||
|
24
docker.spec
24
docker.spec
@ -119,6 +119,7 @@ Requires: iptables >= 1.4
|
||||
Requires: procps
|
||||
Requires: tar >= 1.26
|
||||
Requires: xz >= 4.9
|
||||
Requires: %{name}-rootless-extras
|
||||
%sysusers_requires
|
||||
Requires(post): %fillup_prereq
|
||||
Requires(post): udev
|
||||
@ -141,6 +142,20 @@ Docker is a great building block for automating distributed systems: large-scale
|
||||
web deployments, database clusters, continuous deployment systems, private PaaS,
|
||||
service-oriented architectures, etc.
|
||||
|
||||
%package rootless-extras
|
||||
Summary: Rootless support for Docker
|
||||
Group: System/Management
|
||||
Requires: %{name} = %{version}
|
||||
Requires: slirp4netns >= 0.4
|
||||
Requires: fuse-overlayfs >= 0.7
|
||||
Requires: rootlesskit
|
||||
BuildArch: noarch
|
||||
|
||||
%description rootless-extras
|
||||
Rootless support for Docker.
|
||||
Use dockerd-rootless.sh to run the daemon.
|
||||
Use dockerd-rootless-setuptool.sh to setup systemd for dockerd-rootless.sh.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
@ -297,6 +312,10 @@ install -p -m0644 %{cli_builddir}/man/man8/*.8 %{buildroot}%{_mandir}/man8
|
||||
# sysusers.d
|
||||
install -D -m0644 %{SOURCE106} %{buildroot}%{_sysusersdir}/%{name}.conf
|
||||
|
||||
# rootless extras
|
||||
install -D -p -m 0755 contrib/dockerd-rootless.sh %{buildroot}/%{_bindir}/dockerd-rootless.sh
|
||||
install -D -p -m 0755 contrib/dockerd-rootless-setuptool.sh %{buildroot}/%{_bindir}/dockerd-rootless-setuptool.sh
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%pre -f %{name}.pre
|
||||
@ -367,4 +386,9 @@ grep -q '^dockremap:' /etc/subgid || \
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%files rootless-extras
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/dockerd-rootless.sh
|
||||
%{_bindir}/dockerd-rootless-setuptool.sh
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user