feat: external backend launching log improvements and relative path support (#3348)

* specify workdir when launching external backend for safety / relative paths, bump version, logs

Signed-off-by: Dave Lee <dave@gray101.com>

* sneak in a devcontainer fix

Signed-off-by: Dave Lee <dave@gray101.com>

---------

Signed-off-by: Dave Lee <dave@gray101.com>
This commit is contained in:
Dave 2024-08-23 18:27:14 -04:00 committed by GitHub
parent 61fe2404a0
commit ac5f6f210b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 41 additions and 165 deletions

View file

@ -35,8 +35,9 @@ config_remote() {
#
# Param 1: bash array, filenames relative to the customization directory that should be copied to ~/.ssh
setup_ssh() {
mkdir -p ~/.ssh
local files=("$@")
for file in "${files[@]}"; then
for file in "${files[@]}" ; do
local cfile="/devcontainer-customization/${file}"
local hfile="~/.ssh/${file}"
if [ ! -f "${hfile}" ]; then