Closed jperville closed 3 years ago
I am preparing 2 PRs:
I've used this to create RPMs for Centos 7 and 8 - see the Releases page. I'll close #143 as people should now be able to download and use the RPMs directly rather than need to build their own. Thank you for contributing, it's really very helpful!
Thank you very much @chrisn , maybe I can simplify my own docker images then. Julien
In this issue I document how I managed to build RPM packages of audiowaveform 1.5.1 for Centos7 from the current sources.
My starting point was the source build instructions:
https://github.com/bbc/audiowaveform#install-package-dependencies Plus lots of searching in the issues, especially those related to building static packages on alpine.
I noticed that:
some extra required build dependencies are not documented in the README (libmad-devel from epel repository)make package
command, as long as theredhat-lsb-core
andrpm-build
packages are present on the build host (this is undocumented but I read about the feature in https://github.com/bbc/audiowaveform/issues/30#issuecomment-142574960)The result is the following
Dockerfile
:Build the image like this:
Test it like this: