1
0
mirror of https://github.com/jessfraz/dockerfiles.git synced 2025-04-01 18:00:43 +02:00
Marco Antonio Martins Junior d4d87288a1 Fix jess/vscode hanging as running indefinetely ()
`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
2017-11-01 13:08:54 -04:00

6 lines
71 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
su user -p -c /usr/share/code/code