Updating to use Buster and restic 0.9.6
This commit is contained in:
parent
0c6740d53c
commit
7806912a10
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
FROM debian:stretch-slim
|
FROM debian:buster-slim
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y openssh-server rsync borgbackup ca-certificates && \
|
apt-get install -y openssh-server rsync borgbackup ca-certificates && \
|
||||||
mkdir -p /var/run/sshd
|
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 \
|
RUN mkdir -p /bkup/.ssh \
|
||||||
&& groupadd -g 1111 bkup \
|
&& groupadd -g 1111 bkup \
|
||||||
|
|
Loading…
Reference in a new issue