6 lines
219 B
Text
6 lines
219 B
Text
|
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 -r $REPOSITORY -n $BACKUPNAME
|