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