Reducing Docker Intermediate Layers and Dockerfile Complexity

Originally some of my dockerfiles looked something like this.. FROM ADD . RUN     apt-get update RUN     apt-get install -y unzip .. RUN     unzip … .. CMD     [“/bin/bash”, “/”] The docker images built from these docker files would have a lot of unnecessary layers since each line in a dockerfile represents a single layer. […]