Skip to content

[WIP] Run rainbow example in Docker#1

Open
johnmccabe wants to merge 2 commits into
masterfrom
FEAT/master/run-rainbow-in-docker
Open

[WIP] Run rainbow example in Docker#1
johnmccabe wants to merge 2 commits into
masterfrom
FEAT/master/run-rainbow-in-docker

Conversation

@johnmccabe
Copy link
Copy Markdown
Owner

@johnmccabe johnmccabe commented Jun 6, 2017

This PR adds a multi-stage Dockerfile which builds the rainbow example on arm32v6/alpine.

To build run:

cd examples/rainbow/
docker build -t johnmccabe/mote-rainbow .

To run the container you either need to pass the path to the Mote devices port.

docker run --device=/dev/ttyACM0 johnmccabe/mote-rainbow

or, run with --privileged.

docker run --privileged johnmccabe/mote-rainbow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant