1 %define go_version 1.8.3
2 %define orig_version 17.06.0-dev
7 Summary: The open-source application container engine
12 Source0: %{name}.tar.gz
13 Source1: %{name}.manifest
14 Source2: %{name}.service
15 Source3: %{name}.socket
16 Source11: docker-engine.tar.bz2
18 Requires(post): /sbin/ldconfig
19 Requires(postun): /sbin/ldconfig
23 Docker is an open source project to build, ship and run any application as a
24 lightweight container.
26 Docker containers are both hardware-agnostic and platform-agnostic. This means
27 they can run anywhere, from your laptop to the largest EC2 compute instance and
28 everything in between - and they don't require you to use a particular
29 language, framework or packaging system. That makes them great building blocks
30 for deploying and scaling web apps, databases, and backend services without
31 depending on a particular stack or provider.
37 chmod g-w %_sourcedir/*
38 cp %{SOURCE1} ./%{name}.manifest
40 # docker-engine tar file
45 cp %{SOURCE2} ./%{name}.services
46 cp %{SOURCE3} ./%{name}.socket
51 install -d $RPM_BUILD_ROOT/%{_bindir}
52 install -p -m 755 ./docker-engine/docker $RPM_BUILD_ROOT/%{_bindir}/docker
55 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/docker-containerd
56 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/docker-containerd-ctr
57 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/docker-containerd-shim
58 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/docker-proxy
59 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/docker-runc
60 ln -sf docker $RPM_BUILD_ROOT/%{_bindir}/dockerd
64 %manifest %{name}.manifest
65 %defattr(-,root,root,-)