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