From ce2180e298407d956ee7c2412bc84fe069e7572d Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Mon, 4 Dec 2023 11:08:23 +1100 Subject: [PATCH] Remove hacky version of locale install There is a package available now. Save an entire Mb. --- docker/action/Dockerfile | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/docker/action/Dockerfile b/docker/action/Dockerfile index 30a476a8..3aa7efae 100644 --- a/docker/action/Dockerfile +++ b/docker/action/Dockerfile @@ -17,6 +17,7 @@ RUN set -e; \ libxml2-utils \ libxslt \ make \ + musl-locales \ nodejs \ npm \ openssh \ @@ -40,21 +41,6 @@ RUN set -e; \ ruby-bundler \ sed -# See -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 \