-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEST-#1891: use conda instead of pip
Signed-off-by: Anatoly Myachev <[email protected]>
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ dependencies: | |
- pytest-cov | ||
- pytest-xdist | ||
- coverage<5.0 | ||
- pygithub==1.53 | ||
- pip: | ||
- ray==0.8.7 | ||
- rpyc |