2016-05-21 07:30:39 -07:00
|
|
|
FROM alpine:edge
|
|
|
|
ENTRYPOINT ["/bin/matterbridge"]
|
|
|
|
|
|
|
|
COPY . /go/src/github.com/42wim/matterbridge
|
2016-08-20 09:08:04 -07:00
|
|
|
RUN apk update && apk add go git gcc musl-dev ca-certificates \
|
2016-05-21 07:30:39 -07:00
|
|
|
&& cd /go/src/github.com/42wim/matterbridge \
|
|
|
|
&& export GOPATH=/go \
|
|
|
|
&& go get \
|
|
|
|
&& go build -o /bin/matterbridge \
|
|
|
|
&& rm -rf /go \
|
2016-08-20 09:08:04 -07:00
|
|
|
&& apk del --purge git go gcc musl-dev
|