File tree 3 files changed +5
-70
lines changed
3 files changed +5
-70
lines changed Original file line number Diff line number Diff line change @@ -521,14 +521,4 @@ ENV PYTHONUSERBASE "/root/.local"
521
521
ADD patches/sitecustomize.py /root/.local/lib/python3.6/site-packages/sitecustomize.py
522
522
523
523
# Set backend for matplotlib
524
- ENV MPLBACKEND "agg"
525
-
526
- # Set up an initialization script to be executed before any other commands initiated by the user.
527
- ADD patches/entrypoint.sh /root/entrypoint.sh
528
- RUN chmod +x /root/entrypoint.sh
529
- # NOTE: ENTRYPOINT set by "FROM <image>" should preceed the our own custom entrypoint.
530
- # Currently tini is set as ENTRYPOINT for the base image, and it can be combined with our entrypoint (https://github.com/krallin/tini).
531
- # ENTRYPOINT gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution.
532
- # Make sure tini exists.
533
- RUN /usr/bin/tini -h > /dev/null
534
- ENTRYPOINT ["/usr/bin/tini" , "--" , "/root/entrypoint.sh" ]
524
+ ENV MPLBACKEND "agg"
Original file line number Diff line number Diff line change 9
9
# is enabled.
10
10
11
11
# Usage:
12
- # docker rmi gcr.io/kaggle-images/python:latest
12
+ # docker rmi gcr.io/kaggle-images/python:pinned
13
13
# docker build --rm -t kaggle/python-build -f kaggle_tools_update.Dockerfile .
14
14
# ./test
15
15
# ./push (if tests are passing)
16
16
17
- FROM gcr.io/kaggle-images/python:latest
17
+ # Pull the last build manually tagged as "pinned".
18
+ FROM gcr.io/kaggle-images/python:pinned
18
19
19
- RUN pip install --upgrade git+https://github.com/Kaggle/learntools
20
-
21
- # TODO(dsjang): Remove these lines once the docker image build turns green since they are copied from Dockerfile
22
- # to apply on top of the last green.
23
- # Set up an initialization script to be executed before any other commands initiated by the user.
24
- ADD patches/entrypoint.sh /root/entrypoint.sh
25
- RUN chmod +x /root/entrypoint.sh
26
- # NOTE: ENTRYPOINT set by "FROM <image>" should preceed the our own custom entrypoint.
27
- # Currently tini is set as ENTRYPOINT for the base image, and it can be combined with our entrypoint (https://github.com/krallin/tini).
28
- # ENTRYPOINT gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution.
29
- # Make sure tini exists.
30
- RUN /usr/bin/tini -h > /dev/null
31
- ENTRYPOINT ["/usr/bin/tini" , "--" , "/root/entrypoint.sh" ]
20
+ RUN pip install --upgrade git+https://github.com/Kaggle/learntools
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments