title: error building docker image 'executor failed running [/bin/sh -c apt-get -y update]'
body: <p>I'm trying to build a docker image but it throws an error and I can't seem to figure out why.</p>
  <p>It is stuck at <code>RUN apt-get -y update</code> with the following error messages:</p>
  <pre><code>4.436 E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 2d 16h 26min 22s). Updates for this repository will not be applied.
  
  4.436 E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 3d 10h 28min 24s). Updates for this repository will not be applied.
  
  executor failed running [/bin/sh -c apt-get -y update]: exit code: 100
  </code></pre>
  <p>Here's my docker file:</p>
  <pre><code>FROM python:3.7
  
  # Adding trusting keys to apt for repositories
  RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
  # Adding Google Chrome to the repositories
  RUN 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-chrome.list'
  # Updating apt to see and install Google Chrome
  RUN apt-get -y update
  # Magic happens
  RUN apt-get install -y google-chrome-stable
  
  # Installing Unzip
  RUN apt-get install -yqq unzip
  # Download the Chrome Driver
  RUN CHROMEDRIVER_RELEASE=$(curl http://chromedriver.storage.googleapis.com/LATEST_RELEASE) &amp;&amp; \
      echo &quot;Chromedriver latest version: $CHROMEDRIVER_RELEASE&quot; &amp;&amp; \
      wget --quiet &quot;http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_RELEASE/chromedriver_linux64.zip&quot; &amp;&amp; \
      unzip chromedriver_linux64.zip &amp;&amp; \
      rm -rf chromedriver_linux64.zip &amp;&amp; \
      mv chromedriver /usr/local/bin/chromedriver &amp;&amp; \
      chmod +x /usr/local/bin/chromedriver &amp;&amp; \
      chromedriver --version
  # Set display port as an environment variable
  ENV DISPLAY=:99
  
  WORKDIR /
  
  COPY requirements.txt ./
  
  RUN pip install --upgrade pip &amp;&amp; pip install -r requirements.txt
  
  COPY . .
  
  RUN pip install -e .
  </code></pre>
  <p>What is happening here?</p>