cni-plugins: add cni as a build dependency
package:
name: {{ name|lower }}
- version: {{ version }}+{{ cni_version }}
+ version: {{ version }}
source:
url: https://github.com/containernetworking/plugins/archive/v{{ version }}.tar.gz # [not win]
@@ -19,15 +19,15 @@ build:
requirements:
build:
+ - cni {{ cni_version }}
- go 1.8.* # [not win]
- - make # [not win]
- toolchain # [not win]
run:
- cni {{ cni_version }}
test:
commands:
- - which cnitool
+ - test -f $CNI_PATH/bridge
about:
home: https://github.com/containernetworking/plugins
