2018-12-26 07:24:02 -08:00
|
|
|
FROM alpine:edge as certs
|
|
|
|
RUN apk --update add ca-certificates
|
2018-01-09 15:04:24 -08:00
|
|
|
|
2018-12-26 07:24:02 -08:00
|
|
|
FROM scratch
|
|
|
|
ARG VERSION=1.12.3
|
|
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
ADD https://github.com/42wim/matterbridge/releases/download/v${VERSION}/matterbridge-linux-arm /bin/matterbridge
|
|
|
|
RUN chmod +x /bin/matterbridge
|
|
|
|
ENTRYPOINT ["/bin/matterbridge"]
|