diff --git a/build-yocto/Dockerfile b/build-yocto/Dockerfile index a93c0f3..7bec78f 100644 --- a/build-yocto/Dockerfile +++ b/build-yocto/Dockerfile @@ -1,5 +1,7 @@ FROM ubuntu:16.04 +ENV DEBIAN_FRONTEND noninteractive + RUN apt-get update && apt-get -y upgrade # Required Packages for the Host Development System @@ -28,13 +30,17 @@ RUN echo "build ALL=(ALL) NOPASSWD: ALL" | tee -a /etc/sudoers RUN apt-get install -y locales RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ echo 'LANG="en_US.UTF-8"'>/etc/default/locale && \ - dpkg-reconfigure --frontend=noninteractive locales && \ + dpkg-reconfigure locales && \ update-locale LANG=en_US.UTF-8 ENV LC_ALL en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US.UTF-8 +# enable `bitbake devshell` and commands like `bitbake menuconfig` +RUN apt-get install -y --option=Dpkg::Options::=--force-confnew sudo +RUN apt-get install -y tmux libncurses5-dev + USER build WORKDIR /home/build CMD "/bin/bash" diff --git a/build-yocto/README.md b/build-yocto/README.md index cdda805..38c70ff 100644 --- a/build-yocto/README.md +++ b/build-yocto/README.md @@ -1,6 +1,8 @@ -build-yocto +build-yocto //**enhanced**// =========== +**This Dockerfile contains an Ubuntu 16.04 with the minimal yocto/openembedded dependencies. Plus the tools needed to call commands like `bitbake devshell` and `bitbake menuconfig`** + [![](https://badge.imagelayers.io/gmacario/build-yocto:latest.svg)](https://imagelayers.io/?images=gmacario/build-yocto:latest 'Get your own badge on imagelayers.io') This subproject of [easy-build](https://github.com/gmacario/easy-build) provides a quick and easy way