Miniconda with specified Python version.
238
FROM ubuntu:22.04
WORKDIR /setup
RUN apt-get update \
&& apt-get install -y wget git
RUN wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh \
&& chmod +x mini.sh \
&& bash ./mini.sh -b -f -p /usr/local \
&& conda install -q -y jupyter notebook==6.4.11 \
&& conda install -q -y google-colab -c conda-forge \
&& python -m ipykernel install --name "py37" --user
WORKDIR /content
CMD [ "jupyter", "notebook", "--allow-root", "--ip", "0.0.0.0", "--port", "8888", "--NotebookApp.token=" ]
FROM ubuntu:22.04
WORKDIR /setup
RUN apt-get update \
&& apt-get install -y wget git
RUN wget -O mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.0-3-Linux-x86_64.sh \
&& chmod +x mini.sh \
&& bash ./mini.sh -b -f -p /usr/local \
&& pip install chardet \
&& conda install -q -y jupyter \
&& conda install -q -y google-colab -c conda-forge \
&& python -m ipykernel install --name "py310" --user
WORKDIR /content
CMD [ "jupyter", "notebook", "--allow-root", "--ip", "0.0.0.0", "--port", "8888", "--NotebookApp.token=" ]
Content type
Image
Digest
sha256:04ce7a502…
Size
1.6 GB
Last updated
about 3 years ago
docker pull khacdatdo/miniconda