Skip to content

Commit

Permalink
enhance(docker): add conda bin into /usr/local/bin, make debug mode h…
Browse files Browse the repository at this point in the history
…appy (#3120)
  • Loading branch information
tianweidut authored Jan 11, 2024
1 parent cd671cb commit 7db48e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ RUN if [ "$TARGETARCH" = "amd64" ]; then \
curl -s -o /tmp/conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-${arch_alias}.sh \
&& bash /tmp/conda.sh -b -p /opt/miniconda3 \
&& /opt/miniconda3/bin/conda clean -a -y -f \
&& rm -rf /tmp/conda.sh
&& rm -rf /tmp/conda.sh \
&& ln -sf /opt/miniconda3/bin/conda /usr/local/bin/
COPY external/condarc /root/.condarc

RUN python3.7 -m pip install --upgrade virtualenv>=20.14.0 pip>=22.1.0 \
Expand Down

0 comments on commit 7db48e0

Please sign in to comment.