Update Restic to 0.16.5
This commit is contained in:
parent
321147cac4
commit
18e5973030
6
restic
6
restic
|
@ -5,11 +5,11 @@ RUN apt-get update -yy && \
|
|||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG RESTIC_VERSION=0.16.4
|
||||
ARG RESTIC_VERSION=0.16.5
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=3d4d43c169a9e28ea76303b1e8b810f0dcede7478555fdaa8959971ad499e324; \
|
||||
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=9d2f44538ea0c6309426cb290d3a6b8b0b85de5de7f1496ff40c843b36bf8a8d; \
|
||||
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=f1a9c39d396d1217c05584284352f4a3bef008be5d06ce1b81a6cf88f6f3a7b1; \
|
||||
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=41cc6ad3ac5e99ee088011f628fafcb4fa1e4d3846be2333e5c2a3f6143cd0c1; \
|
||||
else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \
|
||||
curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \
|
||||
printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \
|
||||
|
|
|
@ -5,11 +5,11 @@ RUN apt-get update -yy && \
|
|||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG RESTIC_VERSION=0.16.4
|
||||
ARG RESTIC_VERSION=0.16.5
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=3d4d43c169a9e28ea76303b1e8b810f0dcede7478555fdaa8959971ad499e324; \
|
||||
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=9d2f44538ea0c6309426cb290d3a6b8b0b85de5de7f1496ff40c843b36bf8a8d; \
|
||||
RUN if [ ${TARGETPLATFORM} = "linux/amd64" ]; then SUFFIX=linux_amd64; HASH=f1a9c39d396d1217c05584284352f4a3bef008be5d06ce1b81a6cf88f6f3a7b1; \
|
||||
elif [ ${TARGETPLATFORM} = "linux/arm64" ]; then SUFFIX=linux_arm64; HASH=41cc6ad3ac5e99ee088011f628fafcb4fa1e4d3846be2333e5c2a3f6143cd0c1; \
|
||||
else echo "no URL for $(TARGETPLATFORM)"; exit 1; fi && \
|
||||
curl -Lo /tmp/restic.bz2 https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_${SUFFIX}.bz2 && \
|
||||
printf "${HASH} /tmp/restic.bz2\\n" | sha256sum -c && \
|
||||
|
|
Loading…
Reference in New Issue