docker-images/borgbackup_alpine_runner/Dockerfile
nikurasu 1df17edee9
feat(borg-runner): Support different ssh port
Add support for different remote ssh port
2024-01-27 19:57:31 +01:00

5 lines
232 B
Docker

FROM alpine:3.19
RUN apk --no-cache add openssh borgbackup bash tzdata
COPY ./run_borg.sh /run_borg.sh
VOLUME [ "/backup", "/ssh_privKey" ]
CMD /run_borg.sh -d $BKP_DIR -u $USER -s $SERVER -p $SSH_PORT -r $REPOSITORY -n $BACKUPNAME