Skip to content

Commit

Permalink
Merge pull request #27 from erseco/fix-iconv
Browse files Browse the repository at this point in the history
Quick-and-dirty fix for issue #26 with gnu-libiconv
  • Loading branch information
erseco authored Apr 8, 2023
2 parents 66821d0 + 00287c7 commit 2c2c145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ RUN apk add --no-cache dcron libcap php81-sodium php81-exif php81-pecl-redis php
chown nobody:nobody /usr/sbin/crond && \
setcap cap_setgid=ep /usr/sbin/crond

# add a quick-and-dirty hack to fix https://github.com/erseco/alpine-moodle/issues/26
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

USER nobody

# Change MOODLE_XX_STABLE for new versions
Expand Down

0 comments on commit 2c2c145

Please sign in to comment.