Skip to content

Conversation

@jwnx
Copy link

@jwnx jwnx commented Jan 17, 2026

The current command param overrides the container entrypoint, so our
wrapper never runs. Additionally, the wrapper itself needed a small fix
to both ignore the original entrypoint file (no longer present) and to
accept params .

To make this backwards compatible, we first check if our entrypoint can
run (via a version file). If so, we use it as entrypoint for the patroni
binary. Otherwise, we execute patroni directly (previous behavior).

Signed-off-by: Juliana Oliveira [email protected]

The current command param overrides the container entrypoint, so our
wrapper never runs. Additionally, the wrapper itself needed a small fix
to both ignore the original entrypoint file (no longer present) and to
accept params .

To make this backwards compatible, we first check if our entrypoint can
run (via a version file). If so, we use it as entrypoint for the patroni
binary. Otherwise, we execute patroni directly (previous behavior).

Signed-off-by: Juliana Oliveira <[email protected]>
@jwnx jwnx changed the base branch from main to flyio-2.6.0 January 17, 2026 00:53
@jwnx jwnx changed the title jwnx/fix mpg image entrypoint @jwnx fix: runs entrypoint-wrapper.sh when possible Jan 17, 2026
@jwnx jwnx changed the title @jwnx fix: runs entrypoint-wrapper.sh when possible fix: runs entrypoint-wrapper.sh when possible Jan 17, 2026
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