The new and old image comes with quite a bit of tooling pre-installed, but neither of them install things at build time unless specified to do so. The old image does a confusing thing where it logs out stuff like "Attempting ruby version 2.7.1, read from environment" even if you didn't specify a ruby version in the environment. Those are effectively noops