title: installing conda packages in docker via dockerfile
body: <p>I have a <code>Dockerfile</code> recipe:</p>
  <pre><code>FROM ubuntu:18.04
  ENV PATH=&quot;/root/miniconda3/bin:${PATH}&quot;
  ARG PATH=&quot;/root/miniconda3/bin:${PATH}&quot;
  SHELL [&quot;/bin/bash&quot;, &quot;-c&quot;]
  RUN apt-get update
  
  RUN apt-get install -y wget &amp;&amp; rm -rf /var/lib/apt/lists/*
  
  RUN wget \
      https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \
      &amp;&amp; mkdir /root/.conda \
      &amp;&amp; bash Miniconda3-latest-Linux-x86_64.sh -b \
      &amp;&amp; rm -f Miniconda3-latest-Linux-x86_64.sh 
   
  RUN exec bash \
      &amp;&amp; . /root/.bashrc \
      &amp;&amp; conda init bash \
      &amp;&amp; conda activate \
      &amp;&amp; conda install -y pandas=1.3
  </code></pre>
  <p>When I use the command:</p>
  <pre><code>docker build -t myimage .
  </code></pre>
  <p>The image builds fine, however <code>pandas</code> is not installed. How can I install packages in conda using a dockerfile ??</p>