Source14: containerd.tar.bz2
Source15: runc.tar.bz2
-BuildRequires: git
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%build
-cd .%docker_path/
+cd .%docker_path/engine
export GOROOT=%{_builddir}/%{name}-%{version}/go
export PATH=$PATH:%{_builddir}/%{name}-%{version}/go/bin
export GOPATH=%{_builddir}/%{name}-%{version}
export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper'
-export CGO_ENABLED=1
go env
+echo "skip docker daemon build"
+echo "will be used from docker-ec build result"
+###echo 'docker daemon'
+###export CGO_ENABLED=1
+###AUTO_GOPATH=1 ./hack/make.sh dynbinary
echo 'docker cli'
-cd ./cli
+cd ../cli
make binary
export BUILDTAGS=no_btrfs
cd ../../opencontainers/runc
make all BUILDTAGS=""
-echo 'docker daemon'
-cd ../../docker/engine
-AUTO_GOPATH=1 ./hack/make.sh dynbinary
-
%install
rm -rf %{buildroot}
# install binary