forked from jessfraz/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jessica Frazelle <[email protected]>
- Loading branch information
Showing
4 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,17 +21,19 @@ | |
# -e DISPLAY=unix$DISPLAY chromium | ||
|
||
# Base docker image | ||
FROM debian:jessie | ||
FROM debian:sid | ||
MAINTAINER Jessica Frazelle <[email protected]> | ||
|
||
COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb | ||
# Install Chromium | ||
RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.list && \ | ||
RUN sed -i.bak 's/sid main/sid main contrib non-free/g' /etc/apt/sources.list && \ | ||
apt-get update && apt-get install -y \ | ||
chromium \ | ||
chromium-l10n \ | ||
libcanberra-gtk-module \ | ||
libexif-dev \ | ||
libgl1-mesa-dri \ | ||
libgl1-mesa-glx \ | ||
libpango1.0-0 \ | ||
libv4l-0 \ | ||
pepperflashplugin-nonfree \ | ||
|
@@ -40,5 +42,5 @@ RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.l | |
/bin/echo -e 'export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"\nexport GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"\nexport GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"' > /etc/chromium.d/googleapikeys && \ | ||
dpkg -i '/src/google-talkplugin_current_amd64.deb' | ||
|
||
# Autorun x11vnc | ||
CMD ["/usr/bin/chromium", "--no-sandbox", "--user-data-dir=/data"] | ||
ENTRYPOINT [ "/usr/bin/chromium" ] | ||
CMD [ "--user-data-dir=/data", "--no-sandbox" ] |
Binary file not shown.