Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rain1024 committed Jun 9, 2024
1 parent 60f3a14 commit 323cd29
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions extensions/docker/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ RUN echo 'export PATH=/opt/conda/bin:$PATH' > /etc/profile.d/conda.sh && \
wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh
# ENV PATH /opt/conda/bin:$PATH
ENV PATH /opt/conda/bin:$PATH

# RUN conda update conda
# ENV PATH /opt/conda/envs/python3.7/bin:$PATH
# ENV PATH /opt/conda/envs/python3.8/bin:$PATH
# ENV PATH /opt/conda/envs/python3.9/bin:$PATH
# ENV PATH /opt/conda/envs/python3.10/bin:$PATH
# ENV PATH /opt/conda/envs/python3.11/bin:$PATH
# ENV PATH /opt/conda/envs/python3.12/bin:$PATH
ENV PATH /opt/conda/envs/python3.7/bin:$PATH
ENV PATH /opt/conda/envs/python3.8/bin:$PATH
ENV PATH /opt/conda/envs/python3.9/bin:$PATH
ENV PATH /opt/conda/envs/python3.10/bin:$PATH
ENV PATH /opt/conda/envs/python3.11/bin:$PATH
ENV PATH /opt/conda/envs/python3.12/bin:$PATH

# # python 3.7
# RUN conda create -f -y -n python3.7 python=3.7
# RUN ln -s /opt/conda/envs/python3.7/bin/python3.7 /usr/bin/python3.7
# RUN source activate python3.7 && conda install -y pip
# RUN python3.7 -m pip install poetry
# python 3.7
RUN conda create -f -y -n python3.7 python=3.7
RUN ln -s /opt/conda/envs/python3.7/bin/python3.7 /usr/bin/python3.7
RUN source activate python3.7 && conda install -y pip
RUN python3.7 -m pip install poetry

# # python 3.8
# RUN conda create -f -y -n python3.8 python=3.8
Expand Down

0 comments on commit 323cd29

Please sign in to comment.