Skip to content

Commit 8dab8af

Browse files
committed
Add modin
1 parent 5cb22a4 commit 8dab8af

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Diff for: k8/images/modin/Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# syntax = docker/dockerfile:1.1.7-experimental
2+
ARG FROM
3+
FROM ${FROM}
4+
5+
WORKDIR /usr/src/app
6+
7+
# Must build from source to be able to run tests
8+
# https://modin.readthedocs.io/en/latest/developer/contributing.html
9+
RUN git clone \
10+
--branch 0.8.1.1 \
11+
--depth 1 \
12+
git://github.com/modin-project/modin.git \
13+
.
14+
15+
RUN --mount=type=cache,target=/root/.cache/pip \
16+
pip install -r requirements.txt
17+
18+
RUN python -c "import modin"
19+
20+
ENV PYTHON_RECORD_API_FROM_MODULES=modin
21+
CMD [ "pytest", "modin/pandas/test", "--verbose"]

Diff for: k8/images/modin/version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

0 commit comments

Comments
 (0)