Skip to content

Commit ce2180e

Browse files
committed
Remove hacky version of locale install
There is a package available now. Save an entire Mb.
1 parent c448265 commit ce2180e

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

docker/action/Dockerfile

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN set -e; \
1717
libxml2-utils \
1818
libxslt \
1919
make \
20+
musl-locales \
2021
nodejs \
2122
npm \
2223
openssh \
@@ -40,21 +41,6 @@ RUN set -e; \
4041
ruby-bundler \
4142
sed
4243

43-
# See <https://github.com/Auswaschbar/alpine-localized-docker/blob/master/Dockerfile>
44-
ENV MUSL_LOCPATH="/usr/share/i18n/locales/musl"
45-
RUN set -e; \
46-
apk add --no-cache --virtual .locale_build cmake musl-dev gcc gettext-dev; \
47-
tmp=$(mktemp -d /tmp/musl-locales-XXXXX); \
48-
git clone https://gitlab.com/rilian-la-te/musl-locales "$tmp"; \
49-
cd "$tmp"; \
50-
cmake -DCMAKE_BUILD_TYPE=Release -DLOCALE_PROFILE=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr .; \
51-
make; \
52-
make install; \
53-
cd /; \
54-
rm -rf "$tmp"; \
55-
apk del .locale_build; \
56-
mkdir -p /i-d-template
57-
5844
ENV SHELL=/bin/bash \
5945
LANG=en_US.UTF-8 \
6046
LANGUAGE=en_US:en \

0 commit comments

Comments
 (0)