FROM alpine:3
ARG RESTIC_VERSION
RUN apk add restic=${RESTIC_VERSION} --no-cache
ENTRYPOINT ["/usr/bin/restic"]
CMD ["--help"]