Updating to use Buster and restic 0.9.6

This commit is contained in:
Andrew Davidson 2020-04-13 14:52:59 -04:00
parent 0c6740d53c
commit 7806912a10
Signed by: amd
GPG key ID: 17AF8F2A49CF25C6

View file

@ -1,12 +1,12 @@
FROM debian:stretch-slim
FROM debian:buster-slim
RUN apt-get update && \
apt-get install -y openssh-server rsync borgbackup ca-certificates && \
mkdir -p /var/run/sshd
ADD https://github.com/restic/restic/releases/download/v0.9.4/restic_0.9.4_linux_amd64.bz2 /tmp/
ADD https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_linux_amd64.bz2 /tmp/
RUN bunzip2 /tmp/restic_0.9.4_linux_amd64.bz2 && mv /tmp/restic_0.9.4_linux_amd64 /usr/local/bin/restic && chmod +x /usr/local/bin/restic
RUN bunzip2 /tmp/restic_0.9.6_linux_amd64.bz2 && mv /tmp/restic_0.9.6_linux_amd64 /usr/local/bin/restic && chmod +x /usr/local/bin/restic
RUN mkdir -p /bkup/.ssh \
&& groupadd -g 1111 bkup \