Skip to content

Commit 4546a40

Browse files
committed
Allow quick iteration when developing kaggle librairies
1 parent 90cb774 commit 4546a40

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

dev.Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This Dockerfile builds an image to quickly iterate on the kaggle libraries.
2+
#
3+
# Usage:
4+
# cd path/to/docker-python
5+
# docker build -t kaggle/python-dev -f dev.Dockerfile .
6+
#
7+
# # you can run a container using the image using:
8+
# docker run -it --rm kaggle/python-dev /bin/bash
9+
#
10+
# # you can run the tests against this new image using:
11+
# ./test -i kaggle/python-dev -p test_user_secrets.py
12+
#
13+
FROM gcr.io/kaggle-images/python:staging
14+
15+
ADD patches/kaggle_gcp.py /root/.local/lib/python3.7/site-packages/kaggle_gcp.py
16+
ADD patches/kaggle_secrets.py /root/.local/lib/python3.7/site-packages/kaggle_secrets.py
17+
ADD patches/kaggle_session.py /root/.local/lib/python3.7/site-packages/kaggle_session.py
18+
ADD patches/kaggle_web_client.py /root/.local/lib/python3.7/site-packages/kaggle_web_client.py
19+
ADD patches/kaggle_datasets.py /root/.local/lib/python3.7/site-packages/kaggle_datasets.py

0 commit comments

Comments
 (0)