Skip to content

Commit 2a45e07

Browse files
Tyler Titsworthjitendra42
Tyler Titsworth
andauthored
Fix intel python full installation (#178)
Co-authored-by: Jitendra Patil <jitendra.patil@intel.com>
1 parent d0f350b commit 2a45e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ ENV PATH /opt/conda/envs/idp/bin:/opt/conda/condabin:/opt/conda/bin/:${PATH}
6767
ENV LD_LIBRARY_PATH /lib64/:/usr/lib64/:/usr/local/lib64:/opt/conda/envs/idp/lib:${LD_LIBRARY_PATH}
6868

6969
RUN echo "conda activate idp" >> ~/.bashrc
70-
SHELL ["conda", "run", "-n", "idp", "/bin/bash", "-c"]
7170

7271
WORKDIR /
7372
COPY idp-requirements.txt .
7473

75-
RUN conda run -n idp python -m pip install --no-cache-dir -r idp-requirements.txt
74+
RUN conda install -y --file idp-requirements.txt && \
75+
conda clean -y --all
7676

7777
RUN ln -sf /opt/conda/envs/idp/bin/python /usr/local/bin/python && \
7878
ln -sf /opt/conda/envs/idp/bin/python /usr/local/bin/python3 && \

0 commit comments

Comments
 (0)