I have the below Dockerfile.
FROM ubuntu:14.04 MAINTAINER Samuel Alexander RUN
One workaround:
Then just build your Dockerfile. It will take everything up to that step from the cache and then execute the lines after the dummy command.