title: Unable to install Chromium inisde a docker container on M1 macbook
body: <p>I am Running docker on an M1 Macbook Pro , here i am using this docker script</p>
  <pre><code>FROM node:current-buster
  # Create and set user
  RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  RUN apt-get update &amp;&amp; apt install -y ./google-chrome-stable_current_amd64.deb
  </code></pre>
  <p>This throws an error
  <code> google-chrome-stable:amd64 : Depends: libasound2:amd64 (&gt;= 1.0.16) but it is not installable</code></p>
  <p>and same for other dependencies</p>
  <p>I have tried various ways:</p>
  <ol>
  <li>changing base image</li>
  <li>changing the installation step to</li>
  </ol>
  <pre><code>apt-get install -y wget gnupg ca-certificates procps libxss1 &amp;&amp; 
  wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -      &amp;&amp; sh -c 'echo &quot;deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main&quot; &gt;&gt; /etc/apt/sources.list.d/google.list'&amp;&amp; 
  apt-get update &amp;&amp; 
  apt-get install -y google-chrome-stable 
  </code></pre>
  <p>(This gives an error unable to locate package)</p>
  <p>The script runs on a linux machine but for m1 mac it doesnt work.</p>
  <p>I actually wanted to run puppeteer inside docker for which i am trying to install chrome incase there is an another way around.</p>