mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
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
This commit is contained in:
parent
16ba4698d8
commit
d4d87288a1
|
@ -2,5 +2,4 @@
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
su user -c /usr/bin/editor
|
su user -p -c /usr/share/code/code
|
||||||
sleep infinity
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user