title: How do I install gecko driver and firefox on my docker image apache/airflow:2.1.4
body: <p>I am trying to use Selenium on one of my airflow tasks. I have airflow running on <code>apache/airflow:2.1.4</code> docker image.</p>
  <p>I get the following error when I use selenium in my airflow task (since I'm missing firefox)
  <code>FileNotFoundError: [Errno 2] No such file or directory: 'firefox': 'firefox'</code></p>
  <p>How would I go about adding geckodriver and firefox to the airflow image?</p>
  <p>I have my <code>docker-compose</code> build the following <code>Dockerfile</code> for airflow,</p>
  <pre><code>FROM apache/airflow:2.1.4
  WORKDIR /python_dependencies
  COPY ./requirements.txt .
  RUN pip3 install -r requirements.txt
  </code></pre>