anchor.diff:      USER="me" \
       FUNANNOTATE_DB="/opt/databases"
   
  -# some fixes, this symlink appears to break from conda-pack
  -RUN rm "/venv/bin/fasta" && ln -s "/venv/bin/fasta36" "/venv/bin/fasta"
  -
   # now need to install databases for funannotate
   RUN funannotate setup -i all
   
  
positive.code: 
  # package with conda-pack
  RUN conda-pack -n funannotate -o /tmp/env.tar && \
    mkdir /venv && cd /venv && tar xf /tmp/env.tar && \
    rm /tmp/env.tar
  
  # We've put venv in same path it'll be in final image
  RUN /venv/bin/conda-unpack
  
negative.code: COPY --from=build /venv /venv
  
  # Install debian snap via apt-get
  RUN apt-get update && apt-get install -y snap && \
      rm -rf /var/lib/apt/lists/* && \
      ln -s /usr/bin/snap-hmm /usr/bin/snap && \
      rm "/venv/bin/fasta" && \
      ln -s "/venv/bin/fasta36" "/venv/bin/fasta"
  
  # add it to the PATH and add env variables
  ENV PATH="/venv/bin:$PATH" \
  