Open-Transactions/opentxs — pull request #500 by toxeus (2014-12-17 08:08:04+00:00)
Title: Dockerfile: don't ADD host build folders

`ADD .` will potentially add (at least one) `build` folder when used
in a CMake project. Since CMake `build` folders contain cached path
information a copy of it will make the compilation fail. Therefore,
we use `ADD` to explicitly select data needed for compilation and other
tests. The Docker image size is cut into half as a side effect.

Also, `rm -rf build` is removed since this command does not make any
sense to be executed in a folder that has just been created.