Hercules Yocto and pxscene to Raspberry Pi - Docker Image Creation

Register
Submit a solution
The challenge is finished.

Challenge Overview

We are using a framework called pxscene for a number of current projects.  You can find more details here: 
Eventually, pxscene will be run on embedded devices on the customer's network.  These are proprietary, low-powered devices that we won't be able to get access to.  In order for us to debug performance issues that don't show on a normal computer, we are going to target Raspberry Pi's to see if we can get similar performance to the proprietary devices.

This challenge will build a Docker image we can use to build rPi images that have pxscene installed on them, for testing pxscene apps.

Yocto

The base operating system and libraries will be Yocto.  You can find recent documentation on how to build rPi Yocto images here:

http://www.jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html 

Pxscene

As part of the build, the Docker image should download and cross-compile pxscene for the rPi running Yocto:

https://github.com/johnrobinsn/pxscene

Build instructions for Ubuntu will be provided in the forum.  It's up to competitors to figure out how to do a similar build in the Docker image.

When running on the rPi, it's expected that pxscene will just run full screen on the device - I'm not expecting X11 or a windowing system to be installed.

Docker

The main target for the build will be Docker.  You should provide the Dockerfile that can be used to build the Docker image that will generate the Raspberry Pi image

Raspberry Pi

We are going to target either the Raspberry Pi2 or Pi3 for the images.  The output should be one or the other, depending on a flag given to the Docker run command.

Submission

Your submission should include:

* The Docker file 
* A README describing how to:
 * Build the Docker image
 * Get the output from the build
 * Deploy the image to a raspberry Pi
 * Validate and run pxscene on the raspberry Pi

 

Final Submission Guidelines

Please see above

ELIGIBLE EVENTS:

2017 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30056670