Skip to content

Commit dcf0548

Browse files
authored
Merge pull request garymengcom#167 from jingmian/pr
修复iconv问题
2 parents 4e3f65d + d367b1c commit dcf0548

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ RUN export MC="-j$(nproc)" \
1616
&& chmod +x "${MORE_EXTENSION_INSTALLER}" \
1717
&& sh install.sh \
1818
&& sh "${MORE_EXTENSION_INSTALLER}" \
19-
&& rm -rf /tmp/extensions
19+
&& rm -rf /tmp/extensions \
20+
&& apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing gnu-libiconv
2021

21-
WORKDIR /var/www/html
22+
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
23+
24+
WORKDIR /var/www/html

0 commit comments

Comments
 (0)