fix(apk): 🐞 更新 iconv 版本

防止服务器上传文件失败
This commit is contained in:
李东云
2024-02-05 11:21:11 +08:00
parent 69c2590de9
commit efefeca41a
4 changed files with 9 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ RUN set -ex \
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
&& echo -e "\033[42;37m Build Completed :).\033[0m\n"
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /srv/www
EXPOSE 9501

View File

@@ -21,7 +21,7 @@ RUN set -ex \
&& php -v \
&& php -m \
&& php --ri swoole \
&& apk add --no-cache --repository https://mirrors.aliyun.com/alpine/edge/testing gnu-libiconv \
&& apk add --no-cache --repository https://mirrors.aliyun.com/alpine/edge/testing gnu-libiconv \
# ---------- some config ----------
&& cd /etc/php81 \
# - config PHP
@@ -34,6 +34,8 @@ RUN set -ex \
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
&& echo -e "\033[42;37m Build Completed :).\033[0m\n"
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /srv/www
EXPOSE 9501

View File

@@ -34,6 +34,8 @@ RUN set -ex \
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
&& echo -e "\033[42;37m Build Completed :).\033[0m\n"
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /srv/www
EXPOSE 9501

View File

@@ -34,6 +34,8 @@ RUN set -ex \
&& rm -rf /var/cache/apk/* /tmp/* /usr/share/man \
&& echo -e "\033[42;37m Build Completed :).\033[0m\n"
ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
WORKDIR /srv/www
EXPOSE 9501