Skip to content

Commit b38ae32

Browse files
committed
chore(changeset): add patch for entrypoint clone target fix
1 parent 2261c1c commit b38ae32

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@prover-coder-ai/docker-git": patch
3+
---
4+
5+
Fix the standalone base image cloning the repo outside the prepared `app` folder.
6+
7+
The Dockerfile prepares and chowns `/home/dev/app` to the unprivileged `dev`
8+
user, but `entrypoint.sh` defaulted `TARGET_DIR` to `/work/app`. Because the
9+
auto-clone runs as `su - dev`, cloning into the root-created `/work/app` failed
10+
with permission denied, so the repository never landed in the `app` folder.
11+
The default now points at `/home/dev/app`, and the resolved `TARGET_DIR` is
12+
chowned to `dev` so overrides outside `/home/dev` keep working too.

0 commit comments

Comments
 (0)