Skip to content

Commit d52774e

Browse files
committed
add Seaborn
1 parent 5a6434f commit d52774e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

k8/images/seaborn/Dockerfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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://github.com/mwaskom/seaborn#testing
9+
RUN git clone \
10+
--branch v0.11.0 \
11+
--depth 1 \
12+
https://github.com/mwaskom/seaborn \
13+
.
14+
15+
RUN --mount=type=cache,target=/root/.cache/pip \
16+
pip install -r requirements.txt \
17+
pip install -r ci/utils.txt \
18+
pytest-custom_exit_code
19+
20+
RUN python -c "import seaborn"
21+
22+
ENV PYTHON_RECORD_API_FROM_MODULES=seaborn
23+
CMD [ "pytest", "seaborn", "-n", "auto", "--doctest-modules", "--cov=seaborn", "--cov-config=.coveragerc", "--verbose", "--suppress-tests-failed-exit-code"]

k8/images/seaborn/version

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

0 commit comments

Comments
 (0)