Speed up your Docker builds with --cache-from | Florin Lipan
lipanski.com › posts › speed-up-your-docker-buildsYou can achieve this by setting the --cache-from option on the docker build call. For versions of Docker that don’t include BuildKit, you’ll have to pull the image yourself before running docker build. Assuming the latter, here’s how things would look like: # This is the full image name, including the registry IMAGE="my-docker-registry.example.com/my-docker-image" # Pull an older, existing version from the registry docker pull $ {IMAGE}:0.1.0 # Build a new version by using the older ...