Skip to content

Commit

Permalink
Fix intel python full installation (#178)
Browse files Browse the repository at this point in the history
Co-authored-by: Jitendra Patil <[email protected]>
Signed-off-by: ma-pineda <[email protected]>
  • Loading branch information
2 people authored and ma-pineda committed Jun 28, 2024
1 parent 2ae6f67 commit 2d849a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ ENV PATH /opt/conda/envs/idp/bin:/opt/conda/condabin:/opt/conda/bin/:${PATH}
ENV LD_LIBRARY_PATH /lib64/:/usr/lib64/:/usr/local/lib64:/opt/conda/envs/idp/lib:${LD_LIBRARY_PATH}

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

WORKDIR /
COPY idp-requirements.txt .

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

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

0 comments on commit 2d849a1

Please sign in to comment.