Skip to content

Commit

Permalink
fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
jessfraz committed Apr 29, 2015
1 parent 9f19db3 commit ab43ef0
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 1 deletion.
10 changes: 10 additions & 0 deletions gimp/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

Expand Down
10 changes: 10 additions & 0 deletions remmina/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

Expand Down
11 changes: 11 additions & 0 deletions spotify-wine/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

Expand Down
12 changes: 12 additions & 0 deletions spotify/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

Expand Down
5 changes: 4 additions & 1 deletion tor-browser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 29 additions & 0 deletions tor-browser/local.conf
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit ab43ef0

Please sign in to comment.