This is an automated email from the ASF dual-hosted git repository.
nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new bd06dc8 Update the instruction for using the docker based development
environment (#3395)
bd06dc8 is described below
commit bd06dc8ad65b9f2bc5a1a9c1d4fca844a03ba941
Author: Ning Wang <[email protected]>
AuthorDate: Thu Nov 7 18:07:43 2019 -0800
Update the instruction for using the docker based development environment
(#3395)
---
docker/scripts/dev-env.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/docker/scripts/dev-env.sh b/docker/scripts/dev-env.sh
index 17e37ed..63eec60 100755
--- a/docker/scripts/dev-env.sh
+++ b/docker/scripts/dev-env.sh
@@ -30,10 +30,15 @@
# bazel build --config=ubuntu heron/...
#
# To enter an existing container with a new shell, find the container
-# id with this command:
+# ID with this command first:
# docker ps -a
-# And then :
+# The image name looks like: "heron-dev:ubuntu18.04".=
+# After the container is found, execute the following commands to start
+# the container in case it is not started yet, and then start a new
+# terminal in the container:
+# docker container start CONTAINER_ID
# docker exec -it CONTAINER_ID bash
+#
set -o nounset
set -o errexit