Skip to content

Commit fec75ce

Browse files
resolve iconv issue (see docker-library/php#1121)
1 parent 599a346 commit fec75ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ ENV RELAYHOST_PASSWORD=
1010
# (optional) Should the postfix relay use TLS
1111
ENV SMTP_USE_TLS=
1212

13+
# Fixes an bug with iconv @see https://github.com/docker-library/php/issues/240
14+
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.13/community/ gnu-libiconv==1.15-r3
15+
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
16+
1317
RUN apk --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ add \
1418
ca-certificates \
1519
gettext \

0 commit comments

Comments
 (0)