The docker images should be pruned enough so they can be used as a blank slate for building gems that need native extensions in a clean manner to avoid packaging conflicts if altnerative library implementations need to be used.
Ex: Alpine image includes openssl-dev which conflicts with ressl-dev as ressl and openssl are ABI incompatible implementations on ssl's API.
The docker images should be pruned enough so they can be used as a blank slate for building gems that need native extensions in a clean manner to avoid packaging conflicts if altnerative library implementations need to be used.
Ex: Alpine image includes openssl-dev which conflicts with ressl-dev as ressl and openssl are ABI incompatible implementations on ssl's API.