Use Borg version from Debian's buster-backports repository

This commit is contained in:
Michel Weimerskirch 2021-08-20 13:18:49 +02:00
parent 674b4d8757
commit ad24c80ce3

View file

@ -4,6 +4,8 @@
############################################################
FROM debian:buster-slim
RUN printf "deb http://deb.debian.org/debian buster-backports main non-free\n#deb-src http://deb.debian.org/debian buster-backports main non-free" > /etc/apt/sources.list.d/backports.list
# Volume for SSH-Keys
VOLUME /sshkeys
@ -13,7 +15,7 @@ VOLUME /backup
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y --no-install-recommends install \
borgbackup openssh-server && apt-get clean && \
borgbackup/buster-backports openssh-server && apt-get clean && \
useradd -s /bin/bash -m -U borg && \
mkdir /home/borg/.ssh && \
chmod 700 /home/borg/.ssh && \