From 14cfa7dd3df09c25a261273948803a1c3752609c Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Mon, 9 Feb 2015 12:38:20 -0800 Subject: [PATCH] add tor-browser --- tor-browser/Dockerfile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tor-browser/Dockerfile diff --git a/tor-browser/Dockerfile b/tor-browser/Dockerfile new file mode 100644 index 0000000..ca1b434 --- /dev/null +++ b/tor-browser/Dockerfile @@ -0,0 +1,29 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + libasound2 \ + libdbus-glib-1-2 \ + libgtk2.0-0 \ + libxrender1 \ + libxt6 \ + xz-utils \ + && rm -rf /var/lib/apt/lists/* + +ENV HOME /home/user +RUN useradd --create-home --home-dir $HOME user \ + && chown -R user:user $HOME + +ENV LANG C.UTF-8 + +ENV TOR_VERSION 4.0.3 + +RUN curl -sSL "https://www.torproject.org/dist/torbrowser/${TOR_VERSION}/tor-browser-linux64-${TOR_VERSION}_en-US.tar.xz" | tar -v -C /usr/local/bin -xJ --strip-components 1 + +WORKDIR $HOME +USER user + +ENTRYPOINT ["/bin/bash"] +CMD [ "/usr/local/bin/start-tor-browser" ]