summaryrefslogtreecommitdiffstats
path: root/docker/arm
diff options
context:
space:
mode:
Diffstat (limited to 'docker/arm')
-rw-r--r--docker/arm/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/arm/Dockerfile b/docker/arm/Dockerfile
new file mode 100644
index 00000000..f37dd81d
--- /dev/null
+++ b/docker/arm/Dockerfile
@@ -0,0 +1,11 @@
+FROM easypi/alpine-arm:edge
+ENTRYPOINT ["/bin/matterbridge"]
+
+COPY . /go/src/github.com/42wim/matterbridge
+RUN apk update && apk add go git gcc musl-dev ca-certificates \
+ && cd /go/src/github.com/42wim/matterbridge \
+ && export GOPATH=/go \
+ && go get \
+ && go build -x -ldflags "-X main.githash=$(git log --pretty=format:'%h' -n 1)" -o /bin/matterbridge \
+ && rm -rf /go \
+ && apk del --purge git go gcc musl-dev