Commit Graph

5 Commits

Author SHA1 Message Date
Bret Mogilefsky 459aec92d5
Enable having created files match the local user:group (#2090)
* Enable having created file match the local user:group

If you run `docker compose up` with no other arguments, the `process_models` directory and everything in it will be created with `root:root` ownership. That's not great for the local editing use-case. 

With this change, running `UGID="$(id -u):$(id -g)" docker compose up` will result in any created files matching the ownership of the invoking user. If the user doesn't set `UGID`, then the existing ownership (`root:root`) is the the default.

* Remove the need to explicitly mark git repositories safe

By setting `*` for `safe.directory` when the image is built, we remove
the need to run `git config` when starting the app in Docker. This
enables the container to run as any user, not just `root`.

* Use local variable naming convention
2024-09-30 09:15:33 -07:00
burnettk 6db4ab669f
only create group if not exists 2024-07-01 15:10:18 -04:00
jbirddog 283886cfa9
Add git-debranch as a dev dependency, allow running in arena dev container (#1652) 2024-05-31 15:10:01 -04:00
jbirddog bb3a685138
Dev containers now work with "run as me" (#1129) 2024-02-29 05:27:06 -05:00
jbirddog 2469941ea6
docker compose overlay file for running `run_pyl` equivalents (#1100)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-02-27 09:13:02 -05:00