Skip to content

Commit

Permalink
Quick-and-dirty fix #26 thanks to @jimsihk
Browse files Browse the repository at this point in the history
  • Loading branch information
erseco committed Apr 8, 2023
1 parent 66821d0 commit 00287c7
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 00287c7

Please sign in to comment.