2018-12-26 15:24:02 +00:00
|
|
|
FROM alpine:edge as certs
|
|
|
|
RUN apk --update add ca-certificates
|
2018-01-09 23:04:24 +00:00
|
|
|
|
2018-12-26 15:24:02 +00: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"]
|