Use Borg version from Debian's buster-backports repository
This commit is contained in:
parent
674b4d8757
commit
ad24c80ce3
1 changed files with 3 additions and 1 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Add table
Reference in a new issue