diff --git a/restic b/restic index 3dd5899..f83c9ff 100644 --- a/restic +++ b/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 && \ diff --git a/restic-psql b/restic-psql index e2b04d6..bb6f36a 100644 --- a/restic-psql +++ b/restic-psql @@ -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 && \