Skip to content

Commit dc961b5

Browse files
committed
Fix iconv exception
1 parent a297f24 commit dc961b5

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)