Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing icu full data #4

Closed
loicrey opened this issue Jun 27, 2023 · 2 comments
Closed

Missing icu full data #4

loicrey opened this issue Jun 27, 2023 · 2 comments

Comments

@loicrey
Copy link

loicrey commented Jun 27, 2023

Hello William.

It seems that your images based on Alpine 3.16 (the one used on Sword) have their ICU packages splitted in two and only the english is installed : https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split and we're not able to use package using Intl for translations (like twig/intl-extra)

To fix it, you can add the icu-data-full package into your Alpine Dockerfile
RUN apk add --no-cache icu-data-full

Regards

@williarin
Copy link
Owner

Hi Loïc, thanks for pointing this out. Instead of adding it to Alpine 3.16, I migrated all PHP images to Alpine 3.18, and added the icu-data-full package as well in #5. I've also rebuilt Sword images based on these new images. Does it solve the problem you're having?

@loicrey
Copy link
Author

loicrey commented Jul 6, 2023

Hi William.

I previously solved the problem by adding RUN apk add --no-cache icu-data-ful to a custom Dockerfile from your PHP image in my project.
I removed the line, updated to your new PHP image and it's also working.

Thanks for the quick fix !

@loicrey loicrey closed this as completed Jul 6, 2023
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

No branches or pull requests

2 participants