yocto_os/docker/Dockerfile
2021-11-05 21:44:46 +01:00

17 lines
605 B
Docker

FROM debian:10
RUN apt-get update && apt-get install -y git nano tar locales \
gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
xz-utils debianutils iputils-ping libsdl1.2-dev xterm libmd0 && \
apt-get clean autoclean
RUN echo "ybuildr:x:1000:1000:ybuildr:/home:/bin/bash" >> /etc/passwd && \
echo "root:root" | chpasswd && \
echo "ybuildr:1234" | chpasswd && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8