Skip to content

Conversation

@ayuskauskas
Copy link
Collaborator

@ayuskauskas ayuskauskas commented Jul 28, 2025

The main change is the addition of os.chdir("/") the environment stuff is also better as well.

Redo how environment variables are handled and move it all the to chroot_exec script. Precedence order is now skyhook specific > chroot env > container env

This way we should capture anything the user sets and use the proper env vars for chroot

…stroless

Redo how environment variables are handled and move it all the to chroot_exec script.
Precedence order is now skyhook specific > chroot env > container env

This way we should capture anything the user sets and use the proper env vars for chroot
@lockwobr
Copy link
Collaborator

@ayuskauskas can this be merged? or is there a reason we are waiting too?

@ayuskauskas ayuskauskas changed the title fix(agent): env vars like path are not getting set properly due to distroless fix(agent): chdir to / and make env var setting more robust for host machine Jul 30, 2025
@ayuskauskas ayuskauskas merged commit a3a796e into main Jul 30, 2025
3 checks passed
@ayuskauskas ayuskauskas deleted the agent_fix_path branch July 30, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants