These are now more in-line with wiki instructions. Also removes
broken/deprecated make target test-unit.
Signed-off-by: Brett Randall <javabrett@gmail.com>
| ... | ... |
@@ -2,14 +2,23 @@ |
| 2 | 2 |
# |
| 3 | 3 |
# Usage: |
| 4 | 4 |
# |
| 5 |
-# # Assemble the full dev environment. This is slow the first time. |
|
| 6 |
-# docker build -t docker . |
|
| 5 |
+# # Use make to build a development environment image and run it in a container. |
|
| 6 |
+# # This is slow the first time. |
|
| 7 |
+# make BIND_DIR=. shell |
|
| 7 | 8 |
# |
| 8 |
-# # Mount your source in an interactive container for quick testing: |
|
| 9 |
-# docker run -v `pwd`:/go/src/github.com/docker/docker --privileged -i -t docker bash |
|
| 9 |
+# The following commands are executed inside the running container. |
|
| 10 |
+ |
|
| 11 |
+# # Make a dockerd binary. |
|
| 12 |
+# # hack/make.sh binary |
|
| 13 |
+# |
|
| 14 |
+# # Install dockerd to /usr/local/bin |
|
| 15 |
+# # make install |
|
| 16 |
+# |
|
| 17 |
+# # Run unit tests |
|
| 18 |
+# # hack/test/unit |
|
| 10 | 19 |
# |
| 11 |
-# # Run the test suite: |
|
| 12 |
-# docker run -e DOCKER_GITCOMMIT=foo --privileged docker hack/make.sh test-unit test-integration test-docker-py |
|
| 20 |
+# # Run tests e.g. integration, py |
|
| 21 |
+# # hack/make.sh binary test-integration test-docker-py |
|
| 13 | 22 |
# |
| 14 | 23 |
# # Publish a release: |
| 15 | 24 |
# docker run --privileged \ |