co2monitor icon indicating copy to clipboard operation
co2monitor copied to clipboard

Docker Build

Open schjan opened this issue 7 years ago • 0 comments

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.

schjan avatar Jan 24 '18 13:01 schjan