Skip to content

entrypoint.sh: compare major version number numerically for more robust version checking#105

Open
andreaswachs wants to merge 1 commit intoOT-CONTAINER-KIT:masterfrom
andreaswachs:feature/better-version-checking-in-entrypoint
Open

entrypoint.sh: compare major version number numerically for more robust version checking#105
andreaswachs wants to merge 1 commit intoOT-CONTAINER-KIT:masterfrom
andreaswachs:feature/better-version-checking-in-entrypoint

Conversation

@andreaswachs
Copy link

Changes

This makes a numerical comparison for the major version number when launching redis in cluster mode.

This is to make sure that we don't end up in the first block after the if statement when running Redis newer than v7, as v8 is now out.

@andreaswachs andreaswachs force-pushed the feature/better-version-checking-in-entrypoint branch from 4d81622 to c8ca4d7 Compare November 21, 2025 13:13
# Changes

This makes a numerical comparison for the major version number when
launching redis in cluster mode.

This is to make sure that we don't end up in the first block after the
if statement when running Redis newer than v7, as v8 is now out.

Signed-off-by: Andreas Wachs <awa@corti.ai>
@andreaswachs andreaswachs force-pushed the feature/better-version-checking-in-entrypoint branch from c8ca4d7 to ebdcdc0 Compare November 21, 2025 13:18
@andreaswachs andreaswachs changed the title Compare major version number numerically entrypoint.sh: compare major version number numerically for more robust version checking Nov 21, 2025
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.

1 participant