no more of this no-sandbox bullshit

This commit is contained in:
Jessica Frazelle 2015-04-15 20:36:00 -07:00
parent d69fd2c79e
commit d9a7794d3a
3 changed files with 35 additions and 3 deletions

View File

@ -19,8 +19,8 @@ RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.l
libcurl3 \
libexif-dev \
libgconf-2-4 \
libgl1-mesa-dri \
libgl1-mesa-glx \
libgl1-mesa-dri \
libnspr4 \
libnss3 \
libpango1.0-0 \
@ -38,5 +38,6 @@ RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.l
COPY local.conf /etc/fonts/local.conf
# Autorun x11vnc
CMD ["/usr/bin/google-chrome-stable", "--no-sandbox", "--user-data-dir=/data"]
# Autorun chrome
ENTRYPOINT [ "/usr/bin/google-chrome-stable" ]
CMD [ "--user-data-dir=/data" ]

View File

@ -7,4 +7,6 @@ RUN sed -i.bak 's/jessie main/jessie main contrib/g' /etc/apt/sources.list && \
iceweasel \
--no-install-recommends
COPY local.conf /etc/fonts/local.conf
ENTRYPOINT [ "iceweasel" ]

29
iceweasel/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>