gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 191 forks source link

Dockerfile for testing Ubuntu 20.04 #581

Closed jkbecker closed 3 years ago

jkbecker commented 3 years ago

Here is a minimal docker build using Ubuntu 20.04.

It is derived from the ubuntu_1804_py3k image, i.e., it uses Python 3 by default.

Builds fine for me, but only after adding an apt-get install -qq -y pkg-config line. Otherwise, installation of gr-osmosdr fails during the installation of airspy. Not sure if this should be upstreamed into the airspy.lwr as a dependency? Some context:

I have added fixes to that recipe (see gnuradio/gr-recipes#195 / gnuradio/gr-recipes#196), but I'm unsure if airspy was a lucky find or if other recipes may also fail if this is removed (didn't try them all individually, let me know if you'd like me to).

argilo commented 3 years ago

Adding pkg-config as a dependency in the recipes that need it seems like the right approach, so let's do that. The airspy recipe now has pkg-config and a dependency and I'm testing this pull request without the RUN apt-get install -qq -y pkg-config line to see how it goes.

argilo commented 3 years ago

After that change, things work without pkg-config in the dockerfile. I'll merge this and then remove it in a follow-up commit.

argilo commented 3 years ago

pkg-config was removed in b3c02fd975e3de392dae2c7f06faa00044b68a52.