File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ # This Dockerfile builds an image to quickly iterate on the kaggle libraries.
2+ #
3+ # Create a new image with the latest kaggle librairies using the latest image
4+ # built by CI with a successful test run as the base.
5+ #
6+ # Usage:
7+ # cd path/to/docker-python
8+ # docker build -t kaggle/python-dev -f dev.Dockerfile .
9+ #
10+ # # you can run a container using the image using:
11+ # docker run -it --rm kaggle/python-dev /bin/bash
12+ #
13+ # # you can run the tests against this new image using:
14+ # ./test -i kaggle/python-dev -p test_user_secrets.py
15+ #
16+ FROM gcr.io/kaggle-images/python:staging
17+
18+ ADD patches/kaggle_gcp.py /root/.local/lib/python3.7/site-packages/kaggle_gcp.py
19+ ADD patches/kaggle_secrets.py /root/.local/lib/python3.7/site-packages/kaggle_secrets.py
20+ ADD patches/kaggle_session.py /root/.local/lib/python3.7/site-packages/kaggle_session.py
21+ ADD patches/kaggle_web_client.py /root/.local/lib/python3.7/site-packages/kaggle_web_client.py
22+ ADD patches/kaggle_datasets.py /root/.local/lib/python3.7/site-packages/kaggle_datasets.py
You can’t perform that action at this time.
0 commit comments