summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-05-21 16:30:39 +0200
committerWim <wim@42.be>2016-05-21 16:30:39 +0200
commite03f331f556f227035a7a72a8106edc7a1d20a7c (patch)
tree63287f984e9b3e297a55358b13f927e5a1751323
parentff5aeeb1e196c358858bc06a91f1c19a3e2a98f3 (diff)
downloadmatterbridge-msglm-e03f331f556f227035a7a72a8106edc7a1d20a7c.tar.gz
matterbridge-msglm-e03f331f556f227035a7a72a8106edc7a1d20a7c.tar.bz2
matterbridge-msglm-e03f331f556f227035a7a72a8106edc7a1d20a7c.zip
Add Dockerfile
-rw-r--r--Dockerfile11
1 files changed, 11 insertions, 0 deletions
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