FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Workaround to build a new image with the latest learn tools · HadokenCode/docker-python@4609163 · GitHub

Commit 4609163

Browse files
committed
Workaround to build a new image with the latest learn tools
1 parent 80fe4ad commit 4609163

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Next run the build:
5151
Finally run the tests:
5252

5353
```
54-
./tests
54+
./test
5555
```
5656

5757
Then submit your pull request, and you're all set!

‎kaggle_tools_update.Dockerfile‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This Dockerfile is a temporary solution to unblock the
2+
# community team by updating their library latest using
3+
# the latest python image.
4+
# This is needed until we resolved the issues with the
5+
# main build.
6+
7+
# Usage:
8+
# docker build --rm -t kaggle/python-build -f kaggle_tools_update.Dockerfile .
9+
# ./test
10+
# ./push (if tests are passing)
11+
12+
FROM gcr.io/kaggle-images/python:latest
13+
14+
RUN pip install git+https://github.com/Kaggle/learntools

‎test_build.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
from keras.optimizers import SGD
1616
print("Keras ok")
1717

18+
# Test learntools
19+
1820
# PyTorch smoke test based on http://pytorch.org/tutorials/beginner/nlp/deep_learning_tutorial.html
1921
import torch
2022
import torch.nn as tnn

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL