From 271dc2eb35b5bf03f890954046701796debb0188 Mon Sep 17 00:00:00 2001 From: Joakim Persson Date: Mon, 13 Apr 2026 19:52:08 +0200 Subject: [PATCH] Fix Bedrock config: add AWS_PROFILE to generated config, add .agents/skills to volume ownership fix --- entrypoint-user.sh | 3 ++- entrypoint.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/entrypoint-user.sh b/entrypoint-user.sh index c9b8c1f..37aa950 100644 --- a/entrypoint-user.sh +++ b/entrypoint-user.sh @@ -48,7 +48,8 @@ EOF "provider": { "amazon-bedrock": { "options": { - "region": "${AWS_REGION:-us-east-1}" + "region": "${AWS_REGION:-us-east-1}", + "profile": "${AWS_PROFILE:-default}" } } } diff --git a/entrypoint.sh b/entrypoint.sh index dc510a2..a9c32f8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -58,7 +58,8 @@ for dir in \ /home/"$USER_NAME"/.cargo \ /home/"$USER_NAME"/.vscode-server \ /home/"$USER_NAME"/.config/opencode \ - /home/"$USER_NAME"/.config/nvim; do + /home/"$USER_NAME"/.config/nvim \ + /home/"$USER_NAME"/.agents/skills; do if [ -d "$dir" ] && [ "$(stat -c '%u' "$dir" 2>/dev/null)" != "$FINAL_UID" ]; then chown -R "$FINAL_UID":"$FINAL_GID" "$dir" 2>/dev/null || true fi