title: How do I install a specific version of Chrome in a Dockerfile?
body: <p>Have a Dockerfile that installs from a python image and then I need it to install a specific (not latest) version of Google Chrome.</p>
  
  <p>Here's what I have:</p>
  
  <pre><code>FROM python:3.6
  
  # Tools
  RUN apt-get update \
      &amp;&amp; apt-get install -y vim less \
      &amp;&amp; apt-get clean
  
  # https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeChrome/Dockerfile.txt
  #============================================
  # Google Chrome
  #============================================
  # can specify versions by CHROME_VERSION;
  #  e.g. google-chrome-stable=53.0.2785.101-1
  #       google-chrome-beta=53.0.2785.92-1
  #       google-chrome-unstable=54.0.2840.14-1
  #       latest (equivalent to google-chrome-stable)
  #       google-chrome-beta  (pull latest beta)
  #============================================
  ARG CHROME_VERSION="google-chrome-stable"
  RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
    &amp;&amp; echo "deb http://dl.google.com/linux/chrome/deb/ stable main" &gt;&gt; /etc/apt/sources.list.d/google-chrome.list \
    &amp;&amp; apt-get update -qqy \
    &amp;&amp; apt-get -qqy install \
      ${CHROME_VERSION:-google-chrome-stable} \
    &amp;&amp; rm /etc/apt/sources.list.d/google-chrome.list \
    &amp;&amp; rm -rf /var/lib/apt/lists/* /var/cache/apt/*
  </code></pre>
  
  <p>The Chrome installation steps were taken from <a href="https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeChrome/Dockerfile.txt" rel="noreferrer">here</a> (as seen in the comments) and even using the version in the example I get the error </p>
  
  <pre><code>E: Version '53.0.2785.101-1' for 'google-chrome-stable' was not found
  </code></pre>
  
  <p>Tried other versions from <a href="https://chromereleases.googleblog.com/" rel="noreferrer">https://chromereleases.googleblog.com/</a> and nothing works.</p>
  
  <p>Do you know of a different way to install a specific version or if I'm doing something wrong with these steps?</p>