Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This Dockerfile builds an image to quickly iterate on the kaggle libraries.
#
# Create a new image with the latest kaggle librairies using the latest image
# built by CI with a successful test run as the base.
#
# Usage:
# cd path/to/docker-python
# docker build -t kaggle/python-dev -f dev.Dockerfile .
#
# # you can run a container using the image using:
# docker run -it --rm kaggle/python-dev /bin/bash
#
# # you can run the tests against this new image using:
# ./test -i kaggle/python-dev -p test_user_secrets.py
#
FROM gcr.io/kaggle-images/python:staging

ADD patches/kaggle_gcp.py /root/.local/lib/python3.7/site-packages/kaggle_gcp.py
ADD patches/kaggle_secrets.py /root/.local/lib/python3.7/site-packages/kaggle_secrets.py
ADD patches/kaggle_session.py /root/.local/lib/python3.7/site-packages/kaggle_session.py
ADD patches/kaggle_web_client.py /root/.local/lib/python3.7/site-packages/kaggle_web_client.py
ADD patches/kaggle_datasets.py /root/.local/lib/python3.7/site-packages/kaggle_datasets.py