This commit is contained in:
Jessica Frazelle 2015-04-28 10:33:32 -07:00
parent ed906620f1
commit be7f035671
6 changed files with 76 additions and 1 deletions

View File

@ -1,3 +1,13 @@
# Run gimp in a contianer
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# -v $HOME/Pictures:/root/Pictures \
# --name gimp \
# jess/gimp
#
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>

View File

@ -1,3 +1,13 @@
# Run remmina in a container
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# -v $HOME/.remmina:/root/.remmina \
# --name remmina \
# jess/remmina
#
FROM ubuntu:14.10
MAINTAINER Jessica Frazelle <jess@docker.com>

View File

@ -1,3 +1,14 @@
# Run spotify windows app in a container with wine
#
# docker run --rm -it \
# -v /etc/localtime:/etc/localtime:ro \
# --cpuset-cpus 0 \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \
# --name spotify-wine \
# jess/spotify-wine bash
#
FROM debian:jessie
MAINTAINER Jessie Frazelle <jess@linux.com>

View File

@ -1,3 +1,15 @@
# Run spotify in a container
#
# docker run -d \
# -v /etc/localtime:/etc/localtime:ro \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -e DISPLAY=unix$DISPLAY \
# --device /dev/snd:/dev/snd \
# -v $HOME/.spotify/config:/root/.config/spotify \
# -v $HOME/.spotify/cache:/root/.cache/spotify \
# --name spotify \
# jess/spotify
#
FROM ubuntu:14.04
MAINTAINER Jessie Frazelle <jess@linux.com>

View File

@ -29,8 +29,11 @@ ENV TOR_VERSION 4.5
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/start-tor-browser" ]
CMD [ "/usr/local/bin/Browser/start-tor-browser" ]

29
tor-browser/local.conf Normal file
View 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>