Dockerfile.
You’ll see how to extend existing images, customizing them to your needs, and also how to publish the resulting image to Docker Hub.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-customize-docker-images-with-dockerfiles