Skip to content

Instantly share code, notes, and snippets.

@jg75
Last active July 16, 2018 21:30
Show Gist options
  • Save jg75/1b2df6a9579a81f8f3e93bede4491c41 to your computer and use it in GitHub Desktop.
Save jg75/1b2df6a9579a81f8f3e93bede4491c41 to your computer and use it in GitHub Desktop.
How to install Chrome in Debian (Jessie)
FROM debian:jessie
RUN apt-get update -qq \
&& apt-get install -qqy \
apt-transport-https \
curl \
&& curl -sSL https://dl.google.com/linux/linux_signing_key.pub \
| apt-key add - \
&& echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
&& echo "deb http://http.debian.net/debian jessie-backports main" >> /etc/apt/sources.list.d/jessie-backports.list \
&& apt-get update -qq \
&& apt-get install -qqyt jessie-backports \
google-chrome-stable
&& apt-get clean -qq \
&& rm -f /etc/apt/sources.list.d/google.list \
&& rm -f /etc/apt/sources.list.d/jessie-backports.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment