How to install packages with miniconda in Dockerfile?
问题 I have a simple Dockerfile: FROM ubuntu:18.04 RUN apt-get update RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/* RUN wget \ https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ && mkdir /root/.conda \ && bash Miniconda3-latest-Linux-x86_64.sh -b \ && rm -f Miniconda3-latest-Linux-x86_64.sh \ && echo PATH="/root/miniconda3/bin":$PATH >> .bashrc \ && exec bash \ && conda --version RUN conda --version And it cannot be built. At the very last step I get /bin/sh: 1: