Co-authored-by: Wim <wim@42.be>
This commit is contained in:
parent
b06a574cc5
commit
6dcc23ebb6
|
@ -1,9 +1,10 @@
|
|||
FROM alpine:edge as certs
|
||||
RUN apk --update add ca-certificates
|
||||
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
|
||||
|
||||
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
|
||||
COPY --from=certs /bin/matterbridge /bin/matterbridge
|
||||
ENTRYPOINT ["/bin/matterbridge"]
|
||||
|
|
Loading…
Reference in New Issue