[ROCm] fix security warning (#19017)

fix security warning
This commit is contained in:
PeixuanZuo 2024-01-06 02:05:34 +08:00 committed by GitHub
parent 447a3a7c70
commit efdcefcf8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

@ -65,9 +65,6 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86
conda update --all && \
rm ~/miniconda.sh && conda clean -ya
# Conda base patch
RUN pip install cryptography==41.0.4
# Create migraphx-ci environment
ENV CONDA_ENVIRONMENT_PATH /opt/miniconda/envs/migraphx-ci
ENV CONDA_DEFAULT_ENV migraphx-ci

View file

@ -67,9 +67,6 @@ ENV CONDA_DEFAULT_ENV rocm-ci
RUN conda create -y -n ${CONDA_DEFAULT_ENV} python=3.9
ENV PATH ${CONDA_ENVIRONMENT_PATH}/bin:${PATH}
# Conda base patch
RUN pip install cryptography==41.0.4
# Enable rocm-ci environment
SHELL ["conda", "run", "-n", "rocm-ci", "/bin/bash", "-c"]