diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a8b5c7b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM golang:alpine + +RUN apk add --no-cache git gcc libc-dev + +RUN go get github.com/mattn/go-sqlite3 && \ + go get golang.org/x/net/publicsuffix && \ + go get github.com/miekg/dns + +WORKDIR /go/src/github.com/google/namebench + +ADD . /go/src/github.com/google/namebench/ + +RUN go build namebench.go + +CMD ./namebench -port 8080 \ No newline at end of file