Skip to content

Commit 66ff883

Browse files
committed
Ensure conda is updated
1 parent 67eb631 commit 66ff883

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ RUN dnf install -y unzip git ninja-build && dnf clean all
179179
RUN cd ~ && \
180180
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-py39_23.5.2-0-Linux-x86_64.sh && \
181181
chmod +x Miniconda3-*-Linux-x86_64.sh && \
182-
bash ./Miniconda3-*-Linux-x86_64.sh -bf -p /opt/miniconda
182+
bash ./Miniconda3-*-Linux-x86_64.sh -bf -p /opt/miniconda && \
183+
/opt/miniconda/bin/conda update -y --all && \
184+
/opt/miniconda/bin/conda update -y cryptography && \
185+
/opt/miniconda/bin/conda clean -y --all
183186

184187
# Remove tests directory containing test private keys
185188
# conda clean will clean this directory but just in case, it will check the directory existence and remove it

0 commit comments

Comments
 (0)