2018-12-26 16:24:02 +01:00
|
|
|
FROM alpine:edge as certs
|
|
|
|
RUN apk --update add ca-certificates
|
2021-10-16 23:42:00 +02: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-10 00:04:24 +01:00
|
|
|
|
2018-12-26 16:24:02 +01:00
|
|
|
FROM scratch
|
|
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
2021-10-16 23:42:00 +02:00
|
|
|
COPY --from=certs /bin/matterbridge /bin/matterbridge
|
2018-12-26 16:24:02 +01:00
|
|
|
ENTRYPOINT ["/bin/matterbridge"]
|