From 32a0cf08613166c8944bd735dac0c94e53454f84 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Fri, 22 May 2015 09:27:31 -0700 Subject: [PATCH] add info to allow building a docker image See http://www.centurylinklabs.com/small-docker-images-for-go-apps/ --- Dockerfile | 3 +++ cli.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d1ef506 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM scratch +COPY dockviz / +ENTRYPOINT ["/dockviz"] diff --git a/cli.go b/cli.go index e5e72fc..43ee331 100644 --- a/cli.go +++ b/cli.go @@ -1,4 +1,4 @@ -package main +package main // import "github.com/justone/dockviz" import ( "fmt"