From e3079141b8300e67741bf8289e4882de7991c7a5 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 13 Sep 2022 06:26:38 +0200 Subject: [PATCH] gentoo-base: fix L10N --- gentoo-base.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gentoo-base.Dockerfile b/gentoo-base.Dockerfile index ec4ae79..defa834 100644 --- a/gentoo-base.Dockerfile +++ b/gentoo-base.Dockerfile @@ -13,14 +13,15 @@ RUN echo 'MAKEOPTS="-j1"' >> /etc/portage/make.conf RUN echo 'USE="minimal -berkdb -cracklib -gdbm -gpg -ncurses -nls \ -pam -pcre -pcre-jit -perl -readline -rsync-verify -xattr -su"' \ >> /etc/portage/make.conf -RUN echo -e 'L10N="en_DK"\nLINGUAS="en_DK"' >> /etc/portage/make.conf +RUN echo -e 'L10N="en"\nLINGUAS="en"' >> /etc/portage/make.conf RUN eselect profile set default/linux/amd64/17.1/no-multilib RUN quickpkg --include-config=y @world sys-libs/glibc RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage # Needed for locale generation. RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \ sys-apps/grep sys-apps/gawk app-arch/gzip sys-devel/gcc -RUN mkdir -p /workdir/etc/portage && cp /etc/portage/make.conf /workdir/etc/portage/make.conf +RUN mkdir -p /workdir/etc/portage \ + && cp /etc/portage/make.conf /workdir/etc/portage/make.conf RUN rm -r /workdir/usr/lib/python*/{unit,}test # Final image.