Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.5 KB

README.md

File metadata and controls

52 lines (31 loc) · 1.5 KB

Open Dingux specific Buildroot Docker image

This repository contains files to build a Docker image for building open dingux flavoured buildroot.

How to build

Make sure you have

  • docker installed, eg. apt-get install docker.io.
  • open dingux flavour of choice cloned. eg. git clone https://github.com/jbd1986/RG350_buildroot.git

Also add your self to the docker group, eg. usermod -a -G docker your_alias

To create the image use the docker build command, and add a tag in the format of 'your_name/app_name:sem.ver.num'

eg.

docker build -t podulator/dingux-builder:1.0.0 --build-arg user_id=`id -u` .

How to use

  • username and password are : docker
  • user docker is in users (1000) group
  • sudo is working

Buildroot

Change into your existing open dingux build root directory, and run something like ....

docker run -ti -v `pwd`:/buildroot --user docker podulator/dingux-builder:1.0.0 bash

Now you can issue our buildroot commands, because you'll be in yr code folder

  • make rg350_defconfig
  • make

Stand alone apps

It also has a full mips tool chain installed under /opt/gcw0-toolchain/usr/bin, which is on the PATH

Connecting

To detach from the container, use ctrl-D.

To reattach to it, run docker ps to get a list of running containers, find this one, and run docker attach container_id.

Known inconsistencies

  • Depending on which buildroot you're using, you may need to sudo apt update && sudo apt install libgmp3-dev