Skip to content

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