Open Lensual opened 1 month ago
As the error log suggested, run git config --global --add safe.directory /app
before make build
will solve it.
I think abusing root privileges is not good. But currently it looks like this is a dev container.
I thought we've updated the container name to ten_agent_dev
.
Description
Run command
make build
failed in containerastra_agents_dev
with non-root user cloned project.The container user is root, But the directory owner is non-root.
git output
fatal: detected dubious ownership in repository at '/app'
Version
git branch: main
git commit id: 897f85430a463dd1fc0968494fca6c19f652a407
docker image: ghcr.io/ten-framework/ten_agent_build:0.1.0
Step
4. Enter container and build agent
make build
, its failed.Log