-
Notifications
You must be signed in to change notification settings - Fork 4
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: Jess Frazelle <[email protected]>
- Loading branch information
Showing
3 changed files
with
42 additions
and
11 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,8 +21,6 @@ | |
FROM debian:buster | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
ADD https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb | ||
|
||
# Install Chromium | ||
RUN apt-get update && apt-get install -y \ | ||
chromium \ | ||
|
@@ -40,8 +38,20 @@ RUN apt-get update && apt-get install -y \ | |
--no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& mkdir -p /etc/chromium.d/ \ | ||
&& /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' | ||
&& /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 | ||
|
||
# Download the google-talkplugin | ||
RUN buildDeps=' \ | ||
ca-certificates \ | ||
curl \ | ||
' \ | ||
&& set -x \ | ||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \ | ||
&& dpkg -i /tmp/google-talkplugin-amd64.deb \ | ||
&& rm -rf /tmp/*.deb \ | ||
&& apt-get purge -y --auto-remove $buildDeps | ||
|
||
# Add chromium user | ||
RUN groupadd -r chromium && useradd -r -g chromium -G audio,video chromium \ | ||
|