Skip to content

Docker image to create a consistent platform for building OpenDingux flavoured BuildRoot projects

Notifications You must be signed in to change notification settings

podulator/OpenDinguxBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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

About

Docker image to create a consistent platform for building OpenDingux flavoured BuildRoot projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published