Docker Pipeline is one of the most used plugins on our platform it provides really nice functionality such as being able to run commands within containers more effortlessly.
With Docker 18.09 a new feature Buildkit was introduced which can speed up docker builds tremendously. But with docker pipeline this has issues due to the base image being untagged as docker workflow does some processing on top of it.
- Docker: DOCKER_BUILDKIT=1 FROM does not pull image: https://github.com/moby/moby/issues/39229
- Jenkins: docker agent using a custom Dockerfile is broken with docker buildkit: https://issues.jenkins-ci.org/browse/JENKINS-55577