add info to allow building a docker image
See http://www.centurylinklabs.com/small-docker-images-for-go-apps/
This commit is contained in:
parent
0940ffa495
commit
32a0cf0861
2 changed files with 4 additions and 1 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM scratch
|
||||||
|
COPY dockviz /
|
||||||
|
ENTRYPOINT ["/dockviz"]
|
2
cli.go
2
cli.go
|
@ -1,4 +1,4 @@
|
||||||
package main
|
package main // import "github.com/justone/dockviz"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
Loading…
Reference in a new issue