2016-05-21 14:30:39 +00:00
|
|
|
FROM alpine:edge
|
|
|
|
ENTRYPOINT ["/bin/matterbridge"]
|
|
|
|
|
|
|
|
COPY . /go/src/github.com/42wim/matterbridge
|
2016-07-22 22:03:54 +00:00
|
|
|
RUN apk update && apk add go git gcc musl-dev \
|
2016-05-21 14:30:39 +00:00
|
|
|
&& 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
|