moving locale-gen phase into the end of post-upgrade script
This commit is contained in:
@@ -14,9 +14,6 @@ RUN rsync -av "rsync://89.238.64.78/gentoo-portage/licenses/" "/usr/portage/lice
|
||||
RUN /bin/bash /post-upgrade.sh && \
|
||||
rm -rf /post-upgrade.sh
|
||||
|
||||
# Regenerate all locales
|
||||
RUN locale-gen
|
||||
|
||||
# Set environment variables.
|
||||
ENV HOME /root
|
||||
|
||||
|
||||
@@ -89,6 +89,10 @@ rm -rf /etc/ssh/*_key*
|
||||
# TODO: check if the issue persists with systemd 202.
|
||||
echo FONT=LatArCyrHeb-16 > /etc/vconsole.conf
|
||||
|
||||
# Regenerating locales
|
||||
|
||||
locale-gen
|
||||
|
||||
# remove LDAP keys
|
||||
rm -f /etc/openldap/ssl/ldap.pem /etc/openldap/ssl/ldap.key \
|
||||
/etc/openldap/ssl/ldap.csr /etc/openldap/ssl/ldap.crt
|
||||
|
||||
Reference in New Issue
Block a user