To speed up builds, I'd like to avoid install tools that I need on every commit with apt-get update -y && apt-get install -y git zip
.
Normal way is to create custom build image, register at Docker Hub and upload it there. But I am 100% sure that there is already an up to date image that contains both git
and zip
tools that I need. The only question is how to find this image?
UPDATE 202004: There is no indexer for DockerHub, and there is no even indexer for Docker image contents. To start with that one could get a list of files from an image by patching dive
by @wagoodman, or using https://github.com/GoogleContainerTools/container-diff