Docker image for rockchip linux sdk
Switch branches/tags
Nothing to show
Clone or download
wzyy2 remove preinstalled FFmpeg because it's too big..
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Latest commit b2c2052 Jan 25, 2018

README.MD

OS requirements

To install Docker, you need the 64-bit version of one of these Ubuntu versions:

  • Yakkety 16.10
  • Xenial 16.04 (LTS)
  • Trusty 14.04 (LTS)

Install Docker

Use this command to install the latest version of Docker(replace docker with docker.io in ubuntu 14.04):

apt-get install docker qemu-user-static binfmt-support

Start run Docker deamon:

service docker start

Build Docker image by dockerfile:

sudo docker build -t rockchip .

Now you get a Docker image named "rockchip" which include a debian multiarch cross-compiling enviroment.

Build application

Enter docker shell:

docker run -it -v <package dir>:/home/rk/packages rockchip /bin/bash

Start build:

cd /home/rk/packages/<package-name>
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -rfakeroot -b -d -uc -us -aarmhf
ls ../ | grep *.deb

Modify image

If you want to modify your Docker image, you can open a shell by below command:

docker run -it rockchip /bin/bash

After exit from container, you should use below command to save your changes.

docker commit  <container_id> rockchip

Others

To get more informations about dockers, please check below link: https://docs.docker.com