Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow default path for containers to be set in frontmatter #55

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

mdales
Copy link
Collaborator

@mdales mdales commented Jul 3, 2024

As a quick way to save my sanity with the TMF. We have a hardcoded default path in containers of "/root" this change lets you override that in front matter.

Currently it's overridden for all containers with the same value, and I suspect we need it to be per container name. But for now this is a minimal change to stop me starting every block in the TMF runorder.md with a change directory command.

@mdales mdales merged commit b1b6479 into main Jul 3, 2024
2 checks passed
@mdales mdales deleted the mwd-make-default-path-in-containers-overridable branch July 3, 2024 13:57
@patricoferris
Copy link
Collaborator

Would it be better to implement the same docker logic that remembers where the containers last working dir was?

@mdales
Copy link
Collaborator Author

mdales commented Jul 3, 2024

@patricoferris yeah, I think that'd be good - I just wasn't sure how easy it'd be to bounce that around with the saved containers

@patricoferris
Copy link
Collaborator

Cool I might look into it ocurrent/obuilder#182

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.

2 participants