removing apt update (fixes #1) and condensing build steps to reduce layers
This commit is contained in:
parent
76c253520f
commit
3ecf88c64e
1 changed files with 1 additions and 5 deletions
|
@ -1,13 +1,9 @@
|
|||
FROM debian:stretch-slim
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y
|
||||
|
||||
RUN apt-get install -y openssh-server && \
|
||||
apt-get install -y openssh-server rsync borgbackup ca-certificates && \
|
||||
mkdir -p /var/run/sshd
|
||||
|
||||
RUN apt-get install -y rsync borgbackup ca-certificates
|
||||
|
||||
ADD https://github.com/restic/restic/releases/download/v0.9.4/restic_0.9.4_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
|
||||
|
|
Loading…
Reference in a new issue