mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 20:22:03 -08:00
12 lines
337 B
Docker
12 lines
337 B
Docker
|
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
|