Extract the docker-in-docker pieces of the Dockerfile to a new image:

https://github.com/pgr0ss/elixir-docker-in-docker