January 2018
Intermediate to advanced
456 pages
12h 49m
English
Docker is able to build images automatically by reading instructions from a text file called a Dockerfile. Dockerfiles can be layered on top of each other, so to create a Docker Yocto builder image we would start by using a Ubuntu 16.04 Docker image or one of the other supported distributions, and sequentially configure the image.
An example Dockerfile for a Yocto builder follows:
FROM ubuntu:16.04 MAINTAINER Alex Gonzalez <alex@lindusembedded.com> # Upgrade system and Yocto Proyect basic dependencies RUN apt-get update && apt-get -y upgrade && apt-get -y install 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 ...
Read now
Unlock full access