Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion build-yocto/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion build-yocto/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down