ci,azure-pipelines: wrap all Ubuntu builds in official docker images #638
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sadly, Azure Pipelines, seems to have their Ubuntu images pre-configured
with stuff we don't want.
The stuff that seems to pain us more is that they install some PPAs that we
don't need, and that results in installing newer versions of packages than
what Ubuntu officially supports.
Example (for libxml2):
https://dev.azure.com/AnalogDevices/OpenSource/_build/results?buildId=301&view=logs&j=619eeb56-1e32-5748-8918-b91b4093a911&t=abb0dc85-7ed9-5413-b9ef-6502ddb91e27
When trying to test these deb packages on an official Ubuntu docker, it
complains that it requires a newer libxml2 library than the one Ubuntu
officially has.
One idea is to disable all PPAs, but that sounds like the start of a
continuous cleanup of Azure's Ubuntu images.
The cost of using official Ubuntu dockers is smaller in comparison.
Signed-off-by: Alexandru Ardelean alexandru.ardelean@analog.com