Skip to content

Commit a1c2a3b

Browse files
committed
Ensure conda is updated
1 parent 52925a9 commit a1c2a3b

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
@@ -180,7 +180,10 @@ RUN dnf install -y unzip git ninja-build && dnf clean all
180180
RUN cd ~ && \
181181
curl -L -O https://repo.anaconda.com/miniconda/Miniconda3-py311_23.9.0-0-Linux-x86_64.sh && \
182182
chmod +x Miniconda3-*-Linux-x86_64.sh && \
183-
bash ./Miniconda3-*-Linux-x86_64.sh -bf -p /opt/miniconda
183+
bash ./Miniconda3-*-Linux-x86_64.sh -bf -p /opt/miniconda && \
184+
/opt/miniconda/bin/conda update -y --all && \
185+
/opt/miniconda/bin/conda update -y cryptography && \
186+
/opt/miniconda/bin/conda clean -y --all
184187

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

0 commit comments

Comments
 (0)