gentoo-base: fix L10N
This commit is contained in:
parent
16d80bd0ee
commit
e3079141b8
|
@ -13,14 +13,15 @@ RUN echo 'MAKEOPTS="-j1"' >> /etc/portage/make.conf
|
||||||
RUN echo 'USE="minimal -berkdb -cracklib -gdbm -gpg -ncurses -nls \
|
RUN echo 'USE="minimal -berkdb -cracklib -gdbm -gpg -ncurses -nls \
|
||||||
-pam -pcre -pcre-jit -perl -readline -rsync-verify -xattr -su"' \
|
-pam -pcre -pcre-jit -perl -readline -rsync-verify -xattr -su"' \
|
||||||
>> /etc/portage/make.conf
|
>> /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 eselect profile set default/linux/amd64/17.1/no-multilib
|
||||||
RUN quickpkg --include-config=y @world sys-libs/glibc
|
RUN quickpkg --include-config=y @world sys-libs/glibc
|
||||||
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage
|
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet sys-apps/portage
|
||||||
# Needed for locale generation.
|
# Needed for locale generation.
|
||||||
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \
|
RUN emerge --root=/workdir --buildpkg=y --usepkg --quiet \
|
||||||
sys-apps/grep sys-apps/gawk app-arch/gzip sys-devel/gcc
|
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
|
RUN rm -r /workdir/usr/lib/python*/{unit,}test
|
||||||
|
|
||||||
# Final image.
|
# Final image.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user