hintonda added a comment. You may want to add an ARG statement to force docker to rerun the svn commands each time you invoke `docker build`. Otherwise it will reuse the cache since docker only looks at the RUN text, not it's result.
To get around that, you can add an `ARG REVISION` declaration before the first RUN command, and use $REVISION in your subsequent `svn co` commands. The ARG declaration, will invalidate the cache for the subsequent RUN command, since docker passes ARG as an environment variable and can't know how it's used. Then you could then invoke docker like this: docker build --build-arg REV=$(svn info --show-item revision http://llvm.org/svn/llvm-project/llvm/trunk) . https://reviews.llvm.org/D36635 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits