## Dockerfile build

This is used for distribution of InfiniBand SR-IOV CNI binary in a Docker image.

Typically you'd build this from the root of your InfiniBand SR-IOV CNI clone, and you'd set the `DOCKERFILE` to specify the Dockerfile during build time, `TAG` to specify the image's tag:

```
$ DOCKERFILE=Dockerfile TAG=mellanox/ib-sriov-cni make image
```

Note: The likely best practice here is to build your own image given the Dockerfile, and then push it to your preferred registry, and change the `image` fields in the Daemonset YAML to reference that image.

### Development notes

Example docker run command:

```
$ docker run -it -v /opt/cni/bin/:/host/opt/cni/bin/ --entrypoint=/bin/sh mellanox/ib-sriov-cni
```
