mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
8 lines
313 B
Docker
8 lines
313 B
Docker
FROM alpine:3.13.0
|
|
ARG VERSION
|
|
ARG TARGETARCH
|
|
ENV VERSION $VERSION
|
|
ADD https://github.com/restic/restic/releases/download/v${VERSION}/restic_${VERSION}_linux_${TARGETARCH}.bz2 /root/restic.bz2
|
|
RUN bunzip2 /root/restic.bz2 && chmod +x /root/restic && mv /root/restic /usr/bin/restic
|
|
ENTRYPOINT ["/usr/bin/restic"]
|