Revert "Dig hole deeper: checksums fail, why?"

This reverts commit 070903ecbc.
This commit is contained in:
Henrik Jonsson 2016-05-11 23:06:44 +02:00
parent c415028a28
commit 67b641025a

View File

@ -38,10 +38,7 @@ RUN gpg --keyserver pgp.mit.edu --recv-keys $RELEASE_KEY
RUN curl --fail -O -sSL ${RELEASE_URL} && \ RUN curl --fail -O -sSL ${RELEASE_URL} && \
curl --fail -O -sSL ${RELEASE_URL}.asc && \ curl --fail -O -sSL ${RELEASE_URL}.asc && \
gpg --verify ${RELEASE_FILE}.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 && \ sha256sum -c sha256sums.txt && \
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \ tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
rm -v ${RELEASE_FILE}* sha256sums.txt && \ rm -v ${RELEASE_FILE}* sha256sums.txt && \