I have the below Dockerfile.
FROM ubuntu:14.04 MAINTAINER Samuel Alexander RUN
A simpler technique.
Dockerfile:Add this line where you want the caching to start being skipped.
COPY marker /dev/null
Then build using
date > marker && docker build .