Can't use `--login` because bash profile hasn't been created.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 18 Sep 2018 09:12:08 +0000 (17:12 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 18 Sep 2018 09:12:08 +0000 (17:12 +0800)
This reverts commit 4535fb546081817f0a2ffdd9cc587191b46e4a5f.

launcher

index 684174b992ec5a21c7246445d5d470b30a48896f..5b5d5dcb6e4ad4f725ba5d488192b6b18aee4d7c 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -593,7 +593,7 @@ run_run() {
   setup_bootstrap
 
   $docker_path run --rm --shm-size=512m $user_args $links "${env[@]}" -e DOCKER_HOST_IP="$docker_ip" -i -a stdin -a stdout -a stderr $volumes $image \
-    /bin/bash --login -c "$run_command"
+    /bin/bash -c "$run_command"
 }
 
 run_bootstrap() {