Add Docker support (fix #7)

This commit is contained in:
Manfred Touron 2016-11-06 20:30:15 +01:00
parent 65f289bea7
commit 96b930de07
No known key found for this signature in database
GPG Key ID: 9CCF47DF1FD978A1

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM golang:1.7.3
COPY . /go/src/github.com/moul/protoc-gen-gotemplate
WORKDIR /go/src/github.com/moul/protoc-gen-gotemplate
RUN go install .
ENTRYPOINT ["protoc-gen-gotemplate"]