A sample project to build a Docker image, and run it to build another image
- From root, build a base tooling image containing Mill and Docker:
docker build -t mill-base -f ./operations/Dockerfile.build .
- Build a wrapper image:
docker build -t layered-docker .
- Run it to build another image with access to outer Docker daemon:
docker run --volume /var/run/docker.sock:/var/run/docker.sock layered-docker