| FROM ubuntu:20.04 |
| |
| ARG UID=1000 |
| VOLUME /home/builder/yocto/ |
| |
| ENV DEBIAN_FRONTEND noninteractive |
| ENV LANG en_US.UTF-8 |
| ENV LANGUAGE en_US.UTF-8 |
| ENV LC_ALL en_US.UTF-8 |
| |
| RUN apt-get update |
| RUN apt-get install -y bash gawk wget git-core diffstat unzip texinfo gcc-multilib \ |
| build-essential chrpath socat cpio python3 python3-pip python3-pexpect \ |
| locales locales-all xz-utils debianutils iputils-ping python3-git python3-jinja2 \ |
| libegl1-mesa libsdl1.2-dev pylint3 xterm |
| |
| RUN useradd -u $UID -s /bin/bash -d /home/builder/ builder |
| USER builder |
| CMD /bin/bash |