From 070903ecbc09d5df4969436c670f9ab23c8a35c8 Mon Sep 17 00:00:00 2001 From: Henrik Jonsson Date: Wed, 11 May 2016 23:03:16 +0200 Subject: [PATCH] Dig hole deeper: checksums fail, why? --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index abbb116..9a19416 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,10 @@ RUN gpg --keyserver pgp.mit.edu --recv-keys $RELEASE_KEY RUN curl --fail -O -sSL ${RELEASE_URL} && \ curl --fail -O -sSL ${RELEASE_URL}.asc && \ gpg --verify ${RELEASE_FILE}.asc && \ - echo "$SHA256_CHECKSUM $RELEASE_FILE" > sha256sums.txt && \ + echo "$SHA256_CHECKSUM $RELEASE_FILE" > sha256sums.txt +RUN echo "sha256sum for tor-browser-linux64-6.0a5-hardened_ALL.tar.xz: $(sha256sum tor-browser-linux64-6.0a5-hardened_ALL.tar.xz)" && \ + echo "Contents of sha256sums.txt: $(cat sha256sums.txt)" +RUN \ sha256sum -c sha256sums.txt && \ tar --strip-components=1 -vxJf ${RELEASE_FILE} && \ rm -v ${RELEASE_FILE}* sha256sums.txt && \