From e03f331f556f227035a7a72a8106edc7a1d20a7c Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 21 May 2016 16:30:39 +0200 Subject: Add Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..9f51ea40 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:edge +ENTRYPOINT ["/bin/matterbridge"] + +COPY . /go/src/github.com/42wim/matterbridge +RUN apk update && apk add go git \ + && cd /go/src/github.com/42wim/matterbridge \ + && export GOPATH=/go \ + && go get \ + && go build -o /bin/matterbridge \ + && rm -rf /go \ + && apk del --purge git go -- cgit v1.2.3