fix: mounting directories
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -26,7 +26,7 @@ default_args() {
|
||||
[[ -e "${SSH_AUTH_SOCK:-}" ]] && run_opts+=("-v" "$SSH_AUTH_SOCK:/run/user/1000/ssh-auth-sock" "-e" "SSH_AUTH_SOCK=/run/user/1000/ssh-auth-sock")
|
||||
|
||||
# Load custom container config.
|
||||
local config_file="$(dirname "${BASH_SOURCE[0]}")/containers/$name/config.sh"
|
||||
local config_file="${BASH_SOURCE[0]%/*}/../containers/$name/config.sh"
|
||||
[[ -f "$config_file" ]] && source "$config_file" || true
|
||||
}
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
run_opts+=("-v" "$HOME/Documents/go:/home/user/Documents/go")
|
||||
run_opts+=("-v" "$HOME/Code/go:/home/user/Code/go")
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
run_opts+=("-v" "$HOME/Documents/infra:/home/user/Documents/infra")
|
||||
run_opts+=("-v" "$HOME/Code/infra:/home/user/Code/infra")
|
||||
Reference in new issue
Block a user