establish a properish Docker environment

This commit is contained in:
Elias Ahokas
2025-09-20 21:58:08 +03:00
parent dacbba592b
commit dd19f62e32
3 changed files with 27 additions and 0 deletions

View File

@@ -6,6 +6,14 @@ RUN apt-get update && apt-get install -y \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping
RUN apt-get update && apt-get install -y locales \
&& locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
RUN useradd -ms /bin/bash yocto
USER yocto
WORKDIR /home/yocto