From e7453ebc98a98d14a3f09dbc23a21a03487b9be7 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Fri, 8 Jun 2018 15:02:47 -0700 Subject: [PATCH] Dockerfile: move restic fetch before ark add so it can be cached Signed-off-by: Steve Kriss --- Dockerfile-ark.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-ark.alpine b/Dockerfile-ark.alpine index 0e08c91e0..b4599869a 100644 --- a/Dockerfile-ark.alpine +++ b/Dockerfile-ark.alpine @@ -18,14 +18,14 @@ MAINTAINER Andy Goldstein 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