PromucFlow_constructor/deploy/docker/fs/opt
Shrikant Sharat Kandula a638c47507
chore: Fix PATH getting reset by su (#34286)
The `PATH` env variable gets reset to it's original value by `su`,
because its a "secure" env variable, and is _never_ preserved across
user-switches.

Because of this, the Postgres commands like `initdb` are not found on
the `PATH`. This PR fixes this by setting the `PATH` in the command
passed to `su` itself, so that `initdb` can now be found.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved the initialization process for local Postgres data folder to
ensure compatibility with environment variables.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-17 18:53:38 +05:30
..
appsmith chore: Fix PATH getting reset by su (#34286) 2024-06-17 18:53:38 +05:30
bin chore: Add time to logs from entrypoint.sh (#34116) 2024-06-10 09:23:43 +05:30