From d4d87288a125aaa3130e3daf3f4590568ed7d7eb Mon Sep 17 00:00:00 2001 From: Marco Antonio Martins Junior Date: Wed, 1 Nov 2017 17:08:54 +0000 Subject: [PATCH] Fix jess/vscode hanging as running indefinetely (#305) `sleep infinity` was keeping the process as running until being forced to stop with `docker container stop` `/usr/bin/editor` is just a script that calls the editor (at another shell), using the right path (`/usr/share/code/code`) directly to call it fix this issue --- vscode/start.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vscode/start.sh b/vscode/start.sh index ebc17a1..a540bcb 100755 --- a/vscode/start.sh +++ b/vscode/start.sh @@ -2,5 +2,4 @@ set -e set -o pipefail -su user -c /usr/bin/editor -sleep infinity +su user -p -c /usr/share/code/code