No package 'gobject-introspection-1.0' found
When attempting to build a docker-compose container for a project that requires pygobject, the installation of requirements fails on pygobject setup, with the error of:
No package 'gobject-introspection-1.0' found Command '['pkg-config', '--print-errors', '--exists', 'gobject-introspection-1.0 >= 1.46.0']' returned non-zero exit status 1.
However, gobject-introspection is already installed on my host, Ubuntu 17.10. Full trace can be found at https://hastebin.com/okidaxijuq.coffeescript. Is there any reason this would be happening?