erseco / alpine-moodle

Moodle docker image based on Alpine Linux
https://hub.docker.com/r/erseco/alpine-moodle
MIT License
44 stars 34 forks source link

Quick-and-dirty fix for issue #26 with gnu-libiconv #27

Closed erseco closed 1 year ago

erseco commented 1 year ago

This PR aims to fix issue #26, which was caused by an incompatible version of iconv in Alpine. Thanks to @jimsihk for the research and the proposed workaround.

Changes:

RUN apk add gnu-libiconv=1.15-r3 --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.13/community/ --allow-untrusted
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so

With these changes, we hope to have a functional Alpine-based solution. Please review and let me know if any further modifications are required.

Closes #26