Skip to content

Docker Build - #1

Open
schjan wants to merge 2 commits into
larsp:masterfrom
schjan:add-docker
Open

Docker Build#1
schjan wants to merge 2 commits into
larsp:masterfrom
schjan:add-docker

Conversation

@schjan

@schjan schjan commented Jan 24, 2018

Copy link
Copy Markdown

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