Skip to content

Commit 09a57e3

Browse files
committed
Update Dockerfiles
1 parent 0cb3a74 commit 09a57e3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

debian/apt/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ RUN pip3 install Cython nose pytest
1111

1212
RUN cd scikit-learn && pip3 install -e .
1313

14-
RUN pytest sklearn
14+
RUN cd scikit-learn && pytest sklearn

debian/conda/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ RUN conda create -n sklearn-env numpy scipy cython pytest nose docutils python=3
1616
RUN echo "dash dash/sh boolean false" | debconf-set-selections && \
1717
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
1818

19-
RUN conda activate sklearn-env && \
19+
RUN source activate sklearn-env && \
2020
git clone https://github.com/scikit-learn/scikit-learn.git && \
21-
cd scikit-learn && git checkout master
21+
cd scikit-learn && git checkout master && pip install -e .
2222

23-
RUN make
24-
25-
RUN pytest sklearn
23+
RUN source activate sklearn-env && cd scikit-learn && pytest sklearn

0 commit comments

Comments
 (0)