matterbridge/Dockerfile
Jakub Sokołowski c668dba610
add StatusSupport
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-27 10:39:20 +02:00

12 lines
448 B
Docker

FROM alpine:latest
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