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

Change Docker configuration to use Debian Buster instead of Alpine to have proper iconv support #297

Closed
wants to merge 3 commits into from

Conversation

vdelau
Copy link
Member

@vdelau vdelau commented Jul 14, 2021

I had two problems while running the Docker based dev environment:

  • Alpine's iconv support is not complete and does not support //TRANSLIT
  • Composer on Docker on WSL creates bad proxy files in vendor/bin, I've bypassed those

@Jean85
Copy link
Member

Jean85 commented Jul 14, 2021

Iconv issues with Alpine are known from docker-library/php#240 and can be fixed with this snipped added before ext installations:

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ gnu-libiconv
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php

@vdelau
Copy link
Member Author

vdelau commented Jul 15, 2021

Composer on WSL issue reported at Sculpin: sculpin/sculpin#463

@Jean85
Copy link
Member

Jean85 commented Feb 7, 2022

Fix on Scuplin released as 3.1.1: sculpin/sculpin@88aef54

Can we convert this PR to a requirement to that version and the application of the Alpine workaround?

@vdelau
Copy link
Member Author

vdelau commented Feb 7, 2022

I think this PR can be closed, as you already pinned a specific PR version (with iconv patch: dev-master#2aed37a as 3.1.2) that includes this fix.

@vdelau vdelau closed this Feb 7, 2022
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