Open GarrisonD opened 11 months ago
I mean that would be cool to have the same behaviour out of the box for both alpine
- and debian
-based images.
Have you tried setting your collation using the env var like this comment here: https://github.com/docker-library/postgres/issues/1004#issuecomment-1280559846
Yes, that helps. But my question is not how to fix it but rather why ENV POSTGRES_INITDB_ARGS "--locale-provider=icu --icu-locale=en-US"
isn't part of alpine
-based image? Developers use alpine
-based images to make the dev setup faster and smaller but they don't know that it comes with the price of different behaviour.
Ran into https://github.com/docker-library/postgres/issues/851 using
postgres:16.1-alpine
In
README.md
it's said:As far as I understand, now it should be possible to build the
alpine
-based image with the correcten-US.UTF-8
collation and have proper string comparison. Or do I miss anything?