5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-27 05:25:41 +00:00
matterbridge/Dockerfile
2016-08-20 18:09:00 +02:00

12 lines
379 B
Docker

FROM alpine: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 -o /bin/matterbridge \
&& rm -rf /go \
&& apk del --purge git go gcc musl-dev