Skip to content

Commit

Permalink
Remove hacky version of locale install
Browse files Browse the repository at this point in the history
There is a package available now.  Save an entire Mb.
  • Loading branch information
martinthomson committed Dec 4, 2023
1 parent c448265 commit ce2180e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions docker/action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN set -e; \
libxml2-utils \
libxslt \
make \
musl-locales \
nodejs \
npm \
openssh \
Expand All @@ -40,21 +41,6 @@ RUN set -e; \
ruby-bundler \
sed

# See <https://github.com/Auswaschbar/alpine-localized-docker/blob/master/Dockerfile>
ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl"
RUN set -e; \
apk add --no-cache --virtual .locale_build cmake musl-dev gcc gettext-dev; \
tmp=$(mktemp -d /tmp/musl-locales-XXXXX); \
git clone https://gitlab.com/rilian-la-te/musl-locales "$tmp"; \
cd "$tmp"; \
cmake -DCMAKE_BUILD_TYPE=Release -DLOCALE_PROFILE=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr .; \
make; \
make install; \
cd /; \
rm -rf "$tmp"; \
apk del .locale_build; \
mkdir -p /i-d-template

ENV SHELL=/bin/bash \
LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
Expand Down

0 comments on commit ce2180e

Please sign in to comment.