gnuradio-docker icon indicating copy to clipboard operation
gnuradio-docker copied to clipboard

feature: gr-iio

Open adamhorden opened this issue 3 years ago • 0 comments

feature: gr-iio

This brings in two new Docker containers that will be used by the continuous integration Docker containers for building GNU Radio. This allows a unified approach for dependancies required for gr-iio 🤓, and pinning a known working version of dependancies.

A follow up pull request will allow bringing in the dependancies instead of building from source, such as the following example:

COPY --from=gnuradio/gr_adi_lib_iio:v0.21 /usr/include/iio.h /usr/include/iio.h

In the various containers we can just copy in the dependancies we need without building and this also gives a time saving on continuous integration builds as at the moment we do a compile from source each time.

In order for these to be used, they would need pushing to a Docker registry such as:

https://hub.docker.com/u/gnuradio

I have included some scripts that show this process of building and pushing to a Docker registry (left with comments, but the scripts can be used for local testing). But I cannot do this stage. I will happily work with someone on getting these pushed, and I am happy to maintain these going forward.

There are limited releases of:

https://github.com/analogdevicesinc/libiio

So should be easy to maintain if there was a version change.

I would need these pushing first before I can refactor the other containers.

The second container use the COPY approach for bringing in libiio dependancies for building libad9361-iio and this approach will be used in the follow up pull request for the continuous integration Docker containers but again this has the dependancy on the need to be pushed to a Docker registry.

I have started this pull request for a larger discussion, but this is the first stage to refactoring some of the continuous integration Docker containers.

These containers I was using to test gr-iio with actual hardware and I have included notes on how to use these containers with actual hardware 😁, so they have been well tested before opening this pull request.

Signed-off-by: Adam Horden [email protected]

adamhorden avatar Jun 02 '21 10:06 adamhorden