forked from Job79/devcontainer
Tweaks
This commit is contained in:
5
devc.sh
5
devc.sh
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# =============================================== #
|
||||
# devc.sh v2.0; job79 #
|
||||
# devc.sh v2.0; job79, maurice #
|
||||
# Dev container enter script. Handles setting up #
|
||||
# different dev containers, resuming sessions and #
|
||||
# automatic container updates. #
|
||||
@@ -36,6 +36,9 @@ default_args() {
|
||||
# restarts. Use copy to keep the files from the image.
|
||||
arg "-v $name:/home/user:copy"
|
||||
|
||||
# Mount dev folder
|
||||
arg "-v $HOME/dev:/home/user/dev"
|
||||
|
||||
# If there is custom configuration for the container, load
|
||||
# it here.
|
||||
config_file="$(dirname "$(realpath "$0")")/containers/$name/config.sh"
|
||||
|
||||
Reference in New Issue
Block a user