Skip to content

Commit

Permalink
Update miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc authored May 19, 2024
1 parent 6fceede commit 11bcfcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dockerfiles/ubuntu-base-ci.DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ] ; then apt install -y nasm ; fi

# install conda
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then CONDA_ARCH=aarch64 ; else CONDA_ARCH=x86_64 ; fi \
&& wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.10.0-1-Linux-$CONDA_ARCH.sh \
&& bash Miniconda3-py310_23.10.0-1-Linux-$CONDA_ARCH.sh -b \
&& rm -f Miniconda3-py310_23.10.0-1-Linux-$CONDA_ARCH.sh \
&& wget https://repo.anaconda.com/miniconda/Miniconda3-py310_24.3.0-0-Linux-$CONDA_ARCH.sh \
&& bash Miniconda3-py310_24.3.0-0-Linux-$CONDA_ARCH.sh -b \
&& rm -f Miniconda3-py310_24.3.0-0-Linux-$CONDA_ARCH.sh \
&& /root/miniconda3/bin/conda init

# Add conda to path
ENV PATH="/root/miniconda3/bin:${PATH}"

# install bazel
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then BAZEL_ARCH=arm64 ; else BAZEL_ARCH=amd64 ; fi \
&& wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-$BAZEL_ARCH \
&& wget https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-$BAZEL_ARCH \
&& mv bazelisk-linux-$BAZEL_ARCH /usr/bin/bazel \
&& chmod +x /usr/bin/bazel

Expand Down

0 comments on commit 11bcfcb

Please sign in to comment.