Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Build #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Docker Build #1

wants to merge 2 commits into from

Conversation

schjan
Copy link

@schjan schjan commented Jan 24, 2018

I just added a quick and dirty Dockerfile which creates a ~6MB docker container.

You can use make build_docker_pi to build the image on every distro supported by the official golang image.

I haven't tagged the image yet, but after building the image it can be run with

docker run --rm -it --device /dev/hidraw0 -p 8080:8080 <imagename> /dev/hidraw0

If you want I can also supply some travis build magic for pushing the image to the docker registry, add support for other architectures and write a docker-compose file for a quickstart with Grafana, Prometheus and that image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant