-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: Add VS_COMMONS_DIR, set bash as default shell (#49)
Related to #47 This sets the default shell for 'builder' to '/bin/bash'. When using 'meson devenv', the prompt becomes "[vs-fltk] builder@0884a9be3841:/vs-workspace/build$" instead of "?" now. Although that doesn't really improve anything except cli editing, as I've moved the variables to the entrypoint scripts, and therefore devenv isn't needed if using the docker container. This also fixes this annoying message when starting the container: bash: cannot set terminal process group (14): Inappropriate ioctl for device bash: no job control in this shell builder@b7d17feb7490:~$ Co-authored-by: KaruroChori <[email protected]>
- Loading branch information
1 parent
f0e94bc
commit 8654eaf
Showing
5 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
set -e | ||
$WORKSPACE/docker/entry-common.sh | ||
|
||
su builder -c "cd $WORKSPACE && . ~/.profile && bash" | ||
su -l builder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters