Skip to content

Commit

Permalink
anaconda-pkg-build: Switch to miniconda 23.10.0-1 (#471)
Browse files Browse the repository at this point in the history
* anaconda-pkg-build: Switch to miniconda 23.11.0-2

* Update Dockerfile

* Update Dockerfile
  • Loading branch information
dbast authored Feb 21, 2024
1 parent 4b50d1a commit b14d80b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions anaconda-pkg-build/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

ARG MC_VER=py39_23.1.0-1
ARG MC_VER=py39_23.10.0-1

RUN curl -sSL -o /tmp/miniconda.sh \
"https://repo.anaconda.com/miniconda/Miniconda3-${MC_VER}-Linux-$(uname -m)".sh \
Expand All @@ -100,15 +100,12 @@ RUN curl -sSL -o /tmp/miniconda.sh \
RUN MC_ARCH="$(uname -m)" \
&& if [ "${MC_ARCH}" = "x86_64" ]; then subdir="64"; else subdir="${MC_ARCH}"; fi \
&& /opt/conda/bin/conda update --all --quiet --yes \
&& /opt/conda/bin/conda install --quiet --yes conda-build conda-libmamba-solver \
&& /opt/conda/bin/conda install --quiet --yes conda-build \
&& /opt/conda/bin/conda clean --all --yes \
&& rm -fv /opt/conda/.condarc \
&& /opt/conda/bin/conda config --system --set show_channel_urls True \
&& /opt/conda/bin/conda config --system --set add_pip_as_python_dependency False \
&& /opt/conda/bin/conda config --show-sources \
# The solver has to be set right after the `conda clean` call and before the next
# `conda install` call to avoid incompatible cache formats.
&& /opt/conda/bin/conda config --system --set solver libmamba \
# Cache our C and C++ compilers so we don't have to download them with
# each build; skipping the Fortran compiler as it's not used often
# enough to justify the cache space. Note that we do NOT want to
Expand Down
7 changes: 2 additions & 5 deletions anaconda-pkg-build/linux/cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

ARG MC_VER=py39_23.1.0-1
ARG MC_VER=py39_23.10.0-1

RUN curl -sSL -o /tmp/miniconda.sh \
"https://repo.anaconda.com/miniconda/Miniconda3-${MC_VER}-Linux-$(uname -m)".sh \
Expand All @@ -93,15 +93,12 @@ RUN curl -sSL -o /tmp/miniconda.sh \
RUN MC_ARCH="$(uname -m)" \
&& if [ "${MC_ARCH}" = "x86_64" ]; then subdir="64"; else subdir="${MC_ARCH}"; fi \
&& /opt/conda/bin/conda update --all --quiet --yes \
&& /opt/conda/bin/conda install --quiet --yes conda-build conda-libmamba-solver \
&& /opt/conda/bin/conda install --quiet --yes conda-build \
&& /opt/conda/bin/conda clean --all --yes \
&& rm -fv /opt/conda/.condarc \
&& /opt/conda/bin/conda config --system --set show_channel_urls True \
&& /opt/conda/bin/conda config --system --set add_pip_as_python_dependency False \
&& /opt/conda/bin/conda config --show-sources \
# The solver has to be set right after the `conda clean` call and before the next
# `conda install` call to avoid incompatible cache formats.
&& /opt/conda/bin/conda config --system --set solver libmamba \
# Cache our C and C++ compilers so we don't have to download them with
# each build; skipping the Fortran compiler as it's not used often
# enough to justify the cache space. Note that we do NOT want to
Expand Down

0 comments on commit b14d80b

Please sign in to comment.