mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
ICU support
This commit is contained in:
@@ -27,8 +27,9 @@ WORKDIR /user
|
|||||||
COPY --from=build /app /app
|
COPY --from=build /app /app
|
||||||
|
|
||||||
ENV MUSL_LOCPATH /usr/share/i18n/locales/musl
|
ENV MUSL_LOCPATH /usr/share/i18n/locales/musl
|
||||||
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
|
|
||||||
RUN apk add --no-cache cmake make musl-dev gcc gettext-dev libintl \
|
RUN apk add --no-cache cmake make musl-dev gcc gettext-dev libintl icu-libs \
|
||||||
&& wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip \
|
&& wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip \
|
||||||
&& unzip musl-locales-master.zip \
|
&& unzip musl-locales-master.zip \
|
||||||
&& cd musl-locales-master \
|
&& cd musl-locales-master \
|
||||||
|
|||||||
@@ -27,8 +27,9 @@ WORKDIR /user
|
|||||||
COPY --from=build /app /app
|
COPY --from=build /app /app
|
||||||
|
|
||||||
ENV MUSL_LOCPATH /usr/share/i18n/locales/musl
|
ENV MUSL_LOCPATH /usr/share/i18n/locales/musl
|
||||||
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
|
|
||||||
RUN apk add --no-cache cmake make musl-dev gcc gettext-dev libintl \
|
RUN apk add --no-cache cmake make musl-dev gcc gettext-dev libintl icu-libs \
|
||||||
&& wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip \
|
&& wget https://gitlab.com/rilian-la-te/musl-locales/-/archive/master/musl-locales-master.zip \
|
||||||
&& unzip musl-locales-master.zip \
|
&& unzip musl-locales-master.zip \
|
||||||
&& cd musl-locales-master \
|
&& cd musl-locales-master \
|
||||||
|
|||||||
Reference in New Issue
Block a user