File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ COPY ./root/ /root/
39
39
RUN find /root -name "*.sh" -exec chmod -v +x {} \;
40
40
41
41
RUN apk info \
42
+ && echo @iconv-fix http://dl-cdn.alpinelinux.org/alpine/v3.13/community >> /etc/apk/repositories \
42
43
&& apk update \
43
44
&& apk upgrade \
44
45
&& apk add --no-cache --virtual .build-deps \
@@ -54,6 +55,7 @@ RUN apk info \
54
55
libpng-dev \
55
56
libxml2-dev \
56
57
freetype-dev \
58
+ gnu-libiconv@iconv-fix=1.15-r3 \
57
59
bash \
58
60
git \
59
61
nodejs \
@@ -90,15 +92,16 @@ RUN apk info \
90
92
&& rm -rf /tmp/* /var/cache/apk/*
91
93
92
94
# fix iconv (see https://github.com/docker-library/php/issues/240#issuecomment-876464325)
93
- RUN apk add gnu-libiconv=1.15-r3 --update-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.13/community/ --allow-untrusted
94
- ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so
95
95
96
96
97
97
# configure composer
98
98
ENV COMPOSER_ALLOW_SUPERUSER=1 \
99
99
COMPOSER_MEMORY_LIMIT=-1 \
100
100
PATH="$PATH:/opt/app/vendor/bin:~/.composer/vendor/bin"
101
101
102
+ # fix iconv (see https://github.com/docker-library/php/issues/240#issuecomment-876464325)
103
+ ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so
104
+
102
105
# configure yarn
103
106
RUN yarn config set strict-ssl false && \
104
107
yarn global add cross-env
You can’t perform that action at this time.
0 commit comments