chop-dbhi / prometheus-sql

Service that exposes Prometheus metrics for a SQL result set.
BSD 2-Clause "Simplified" License
202 stars 55 forks source link

Add Dockerfile for multi stage builds #18

Closed haxorof closed 7 years ago

haxorof commented 7 years ago

Since Docker CE v17.06 multi stage builds are available which simplifies the process to create smaller images. Today we do it in two stages where releases are published to releases and then packages into container in Docker Hub. Now this can be replaced by this new feature: https://docs.docker.com/engine/userguide/eng-image/multistage-build/#use-multi-stage-builds

Estimate is that this feature will be available at Docker Hub in July 2017.

Add additional Dockerfile for multi stage builds.