Tor Messenger 0.3.0b1

This commit is contained in:
Christian Koep 2016-12-01 19:18:58 +01:00
parent 711ff46aaa
commit 05192b130e
No known key found for this signature in database
GPG Key ID: 889970BE12955732

View File

@ -10,7 +10,7 @@ MAINTAINER Christian Koep <christian.koep@fom-net.de>
ENV HOME /home/user
ENV LANG C.UTF-8
ENV TOR_VERSION 0.2.0b2
ENV TOR_VERSION 0.3.0b1
ENV TOR_FINGERPRINT 0xB01C8B006DA77FAA
RUN apt-get update && apt-get -y install \
@ -21,6 +21,7 @@ RUN apt-get update && apt-get -y install \
gxmessage \
libasound2 \
libdbus-glib-1-2 \
libgtk2.0-0 \
libxt6 \
tar \
xz-utils \
@ -32,13 +33,13 @@ RUN useradd --create-home --home-dir $HOME user && chown -R user:user $HOME
RUN cd /tmp && \
curl -sSOL https://dist.torproject.org/tormessenger/${TOR_VERSION}/tor-messenger-linux64-${TOR_VERSION}_en-US.tar.xz && \
curl -sSOL https://dist.torproject.org/tormessenger/${TOR_VERSION}/sha256sums.txt && \
curl -sSOL https://dist.torproject.org/tormessenger/${TOR_VERSION}/sha256sums.txt.asc && \
curl -sSOL https://dist.torproject.org/tormessenger/${TOR_VERSION}/sha256sums-unsigned-build.txt && \
curl -sSOL https://dist.torproject.org/tormessenger/${TOR_VERSION}/sha256sums-unsigned-build.txt.asc && \
mkdir ~/.gnupg && \
gpg --keyserver pgp.mit.edu --recv-keys ${TOR_FINGERPRINT} || \
gpg --fingerprint --keyid-format LONG ${TOR_FINGERPRINT} | grep "Key fingerprint = 3A0B 3D84 3708 9613 6B84 5E82 6887 935A B297 B391" && \
gpg --verify sha256sums.txt.asc && \
grep $(sha256sum tor-messenger-linux64-${TOR_VERSION}_en-US.tar.xz) sha256sums.txt && \
gpg --fingerprint --keyid-format LONG ${TOR_FINGERPRINT} | grep "Key fingerprint = E4AC D397 5427 A5BA 8450 A1BE B01C 8B00 6DA7 7FAA" && \
gpg --verify sha256sums-unsigned-build.txt.asc && \
grep $(sha256sum tor-messenger-linux64-${TOR_VERSION}_en-US.tar.xz) sha256sums-unsigned-build.txt && \
tar xfv tor-messenger-linux64-${TOR_VERSION}_en-US.tar.xz -C /usr/local/bin && \
rm -rf tor-messenger* && \
chown -R user.user /usr/local/bin/tor-messenger && \