fixes annoying locale message
This commit is contained in:
parent
3e73b8707e
commit
aed70f20c5
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ ENV COLORTERM=truecolor
|
||||||
# Update
|
# Update
|
||||||
RUN pacman -Syu --noconfirm
|
RUN pacman -Syu --noconfirm
|
||||||
|
|
||||||
|
## Before anything, avoid some annoying warnings
|
||||||
|
RUN pacman -Sy --noconfirm glibc && \
|
||||||
|
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen && \
|
||||||
|
locale-gen
|
||||||
|
|
||||||
|
ENV LANG=en_US.UTF-8
|
||||||
|
ENV LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
## Configure non-root user
|
## Configure non-root user
|
||||||
RUN pacman -S --noconfirm sudo
|
RUN pacman -S --noconfirm sudo
|
||||||
RUN useradd -m -s /bin/bash -G wheel x
|
RUN useradd -m -s /bin/bash -G wheel x
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue