docker-borgbackup-exporter/Dockerfile

15 lines
289 B
Docker
Raw Normal View History

2022-05-30 19:53:08 +00:00
FROM alpine:3.16
ARG BORG_VERSION=1.2.0-r0
ARG OPENSSH_VERSION=9.0_p1-r1
RUN apk add --no-cache borgbackup=${BORG_VERSION} openssh=${OPENSSH_VERSION}
COPY assets/*.sh /usr/bin/
ENV CRON_SCHEDULE="0 */1 * * *"
VOLUME ["/root/.ssh", "/output"]
ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]