mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-03-31 17:31:05 +02:00
bump tor-browser version and add alpha
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
bdb42dd98b
commit
3f2afd894d
tor-browser
@ -26,7 +26,7 @@ RUN useradd --create-home --home-dir $HOME user \
|
|||||||
|
|
||||||
ENV LANG C.UTF-8
|
ENV LANG C.UTF-8
|
||||||
|
|
||||||
ENV TOR_VERSION 4.5.3
|
ENV TOR_VERSION 5.5a1
|
||||||
|
|
||||||
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
|
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
|
||||||
|
|
40
tor-browser/stable/Dockerfile
Normal file
40
tor-browser/stable/Dockerfile
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# Run tor browser in a container
|
||||||
|
#
|
||||||
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
|
# -v /dev/snd:/dev/snd \
|
||||||
|
# -e DISPLAY=unix$DISPLAY \
|
||||||
|
# jess/tor-browser
|
||||||
|
#
|
||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
libasound2 \
|
||||||
|
libdbus-glib-1-2 \
|
||||||
|
libgtk2.0-0 \
|
||||||
|
libxrender1 \
|
||||||
|
libxt6 \
|
||||||
|
xz-utils \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& 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 5.0
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
# good fonts
|
||||||
|
COPY local.conf /etc/fonts/local.conf
|
||||||
|
|
||||||
|
WORKDIR $HOME
|
||||||
|
USER user
|
||||||
|
|
||||||
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
CMD [ "/usr/local/bin/Browser/start-tor-browser" ]
|
29
tor-browser/stable/local.conf
Normal file
29
tor-browser/stable/local.conf
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||||
|
<fontconfig>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="rgba">
|
||||||
|
<const>rgb</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="hinting">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="hintstyle">
|
||||||
|
<const>hintslight</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="antialias">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match target="font">
|
||||||
|
<edit mode="assign" name="lcdfilter">
|
||||||
|
<const>lcddefault</const>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
</fontconfig>
|
Loading…
x
Reference in New Issue
Block a user