Skip to content

Commit 1d0ce19

Browse files
resolve iconv issue (see docker-library/php#1121)
1 parent 447d88b commit 1d0ce19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ RUN apk --no-cache add \
6767
&& ln -sf /dev/stdout /var/log/nginx/access.log \
6868
&& ln -sf /dev/stderr /var/log/nginx/error.log
6969

70+
# workaround for iconv issue
71+
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.13/community/ gnu-libiconv==1.15-r3
72+
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
7073

7174
COPY conf/www.conf /etc/php81/php-fpm.d/www.conf
7275
COPY conf/default.conf conf/healthz.conf /etc/nginx/conf.d/

0 commit comments

Comments
 (0)