mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-01-30 17:13:46 +01:00
add chrome beta
Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
parent
f97b85bc1c
commit
945a717394
44
chrome/beta/Dockerfile
Normal file
44
chrome/beta/Dockerfile
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Base docker image
|
||||
FROM debian:sid
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb
|
||||
|
||||
ADD https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb /src/google-chrome-beta_current_amd64.deb
|
||||
|
||||
# Install Chromium
|
||||
RUN sed -i.bak 's/sid main/sid main contrib non-free/g' /etc/apt/sources.list && \
|
||||
mkdir -p /usr/share/icons/hicolor && \
|
||||
apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
gconf-service \
|
||||
hicolor-icon-theme \
|
||||
libappindicator1 \
|
||||
libasound2 \
|
||||
libcanberra-gtk-module \
|
||||
libcurl3 \
|
||||
libexif-dev \
|
||||
libgconf-2-4 \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-glx \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libpango1.0-0 \
|
||||
libv4l-0 \
|
||||
libxss1 \
|
||||
libxtst6 \
|
||||
wget \
|
||||
xdg-utils \
|
||||
--no-install-recommends && \
|
||||
dpkg -i '/src/google-chrome-beta_current_amd64.deb' && \
|
||||
apt-get install -y \
|
||||
pepperflashplugin-nonfree \
|
||||
--no-install-recommends && \
|
||||
dpkg -i '/src/google-talkplugin_current_amd64.deb' \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY local.conf /etc/fonts/local.conf
|
||||
|
||||
# Autorun chrome
|
||||
ENTRYPOINT [ "/usr/bin/google-chrome-beta" ]
|
||||
CMD [ "--user-data-dir=/data", "--no-sandbox" ]
|
29
chrome/stable/local.conf
Normal file
29
chrome/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…
Reference in New Issue
Block a user