Go to file
Thomas Klaehn 8095bd2e6e Yocto build container: Add additional tools
libxml2:i386 and jq (xml and json processors) are additionally installed.

Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
2018-08-03 12:00:35 +02:00
Dockerfile Yocto build container: Add additional tools 2018-08-03 12:00:35 +02:00
init.sh Yocto build container: start as same user as caller 2017-12-07 13:22:40 +01:00
README.md Yocto build container: start as same user as caller 2017-12-07 13:22:40 +01:00

Yocto build container

A docker container used to build yocto images. It's based on Debian jessie.

Prerequisites

Docker needs to be installed and the docker daemon needs to run. Also the user needs to be member of the docker group.

adduser <username> docker

Build the container

docker build -t "<name>:<tag>" .

Run the container

Run from HOME directory:

docker run -it --rm -v=/var/lib/sss/pipes/:/var/lib/sss/pipes/:rw -v $(pwd):$(pwd) -w $(pwd) -u $(id -u $USER):$(id -g $USER) <name>:<tag> /bin/bash