Skip to content

Commit cf6667c

Browse files
authored
Merge pull request #4 from Sekiphp/patch/iconv
Fix iconv exception
2 parents a297f24 + dc961b5 commit cf6667c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

images/php-fpm/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ARG DOCKER_IMAGE_FOLDER
44
ARG GROUP_ID
55
ARG USER_ID
66

7+
# iconv fix (https://github.com/docker-library/php/issues/240#issuecomment-763112749)
8+
RUN apk add --upgrade gnu-libiconv
9+
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so
10+
711
# php gd dependencies
812
RUN apk add zlib-dev
913
RUN apk add jpeg-dev

0 commit comments

Comments
 (0)