Return exit status of docker run - CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/189953a9 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/189953a9 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/189953a9 Branch: refs/heads/TINKERPOP-1489 Commit: 189953a9f02b1f5d1a65726523b6385deab05353 Parents: 47cebd4 Author: Robert Dale <robd...@gmail.com> Authored: Wed Dec 27 09:12:09 2017 -0500 Committer: Robert Dale <robd...@gmail.com> Committed: Wed Dec 27 09:12:09 2017 -0500 ---------------------------------------------------------------------- docker/build.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/189953a9/docker/build.sh ---------------------------------------------------------------------- diff --git a/docker/build.sh b/docker/build.sh index 7b83d29..7eb46b4 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -52,4 +52,6 @@ EOF docker build -t tinkerpop:${BUILD_TAG} . docker run ${TINKERPOP_DOCKER_OPTS} ${REMOVE_CONTAINER} -ti tinkerpop:${BUILD_TAG} +status=$? popd > /dev/null +exit $status