Skip to content

Commit

Permalink
TEST-#1891: use conda instead of pip
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Sep 9, 2020
1 parent dd27013 commit bf3902e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
18 changes: 12 additions & 6 deletions ci/teamcity/Dockerfile.teamcity-ci
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
FROM modin-project/modin-base

ARG REQUIREMENTS=requirements.txt
ARG ENVIRONMENT=environment.yml

ADD modin.tar /modin
ADD git-rev /modin/git-rev

WORKDIR /modin
RUN pip install -U pip setuptools
RUN pip install -U -r ${REQUIREMENTS}
RUN pip install -U pytest-remotedata
RUN pip install -e .[all]
RUN pip install PyGithub

RUN conda env create -f environment.yml

# Make RUN commands use the new environment:
SHELL ["conda", "run", "-n", "modin", "/bin/bash", "-c"]

RUN conda list

RUN echo "source activate modin" > ~/.bashrc
ENV PATH /opt/conda/envs/env/bin:$PATH
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies:
- pytest-cov
- pytest-xdist
- coverage<5.0
- pygithub==1.53
- pip:
- ray==0.8.7
- rpyc

0 comments on commit bf3902e

Please sign in to comment.