Dockerfile: move restic fetch before ark add so it can be cached

Signed-off-by: Steve Kriss <steve@heptio.com>
pull/537/head
Steve Kriss 2018-06-08 15:02:47 -07:00
parent 0396ca1dee
commit e7453ebc98
1 changed files with 2 additions and 2 deletions

View File

@ -18,14 +18,14 @@ MAINTAINER Andy Goldstein <andy@heptio.com>
RUN apk add --no-cache ca-certificates
ADD /bin/linux/amd64/ark /ark
RUN apk add --update --no-cache bzip2 && \
wget --quiet https://github.com/restic/restic/releases/download/v0.9.0/restic_0.9.0_linux_amd64.bz2 && \
bunzip2 restic_0.9.0_linux_amd64.bz2 && \
mv restic_0.9.0_linux_amd64 /restic && \
chmod +x /restic
ADD /bin/linux/amd64/ark /ark
ADD /complete-restore.sh /complete-restore.sh
USER nobody:nobody