Merge pull request #235 from apache/doc/debug

doc: add debugging info
diff --git a/README.md b/README.md
index 6f20dfc..70072d7 100644
--- a/README.md
+++ b/README.md
@@ -284,6 +284,12 @@
 The `build.sh` utility can help you do this quickly, see its usage help for
 more details.
 
+To see full build logs, export `PROGRESS_NO_TRUNC=1` and use `--progress
+plain` as an option to `docker build`.
+
+To rebuild all Dockerfile steps without caching (so you can inspect the
+build log e.g.), use the `--no-cache` option of `docker build`.
+
 ## Feedback, Issues, Contributing
 
 General feedback is welcome at our [user][1] or [developer][2] mailing lists.