|
|
|
@ -149,6 +149,9 @@ low-level storage and network attachments, etc.
@@ -149,6 +149,9 @@ low-level storage and network attachments, etc.
|
|
|
|
|
%build |
|
|
|
|
%gobuildroot |
|
|
|
|
export LDFLAGS="-X %{goipath}/version.Version=%{version}" |
|
|
|
|
%ifarch ppc64 |
|
|
|
|
export CGO_ENABLED=1 |
|
|
|
|
%endif |
|
|
|
|
%gobuild -o _bin/containerd %{goipath}/cmd/containerd |
|
|
|
|
%gobuild -o _bin/containerd-shim %{goipath}/cmd/containerd-shim |
|
|
|
|
%gobuild -o _bin/ctr %{goipath}/cmd/ctr |
|
|
|
|