| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b404a22 commit dfbe82e
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -526,8 +526,10 @@ ENV MPLBACKEND "agg" | |||
| 526 | 526 | # Set up an initialization script to be executed before any other commands initiated by the user. | |
| 527 | 527 | ADD patches/entrypoint.sh /root/entrypoint.sh | |
| 528 | 528 | RUN chmod +x /root/entrypoint.sh | |
| 529 | - # This script gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution. | ||
| 530 | - ENTRYPOINT ["/root/entrypoint.sh"] | ||
| 529 | + # This script gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution. | ||
| 530 | + # NOTE: ENTRYPOINT set by "FROM <image>" should preceed the our own custom entrypoint. | ||
| 531 | + # Specifically, tini can be combined with another entrypoint (https://github.com/krallin/tini). | ||
| 532 | + ENTRYPOINT ["/usr/bin/tini", "--", "/root/entrypoint.sh"] | ||
| 531 | 533 | ||
| 532 | 534 | # Finally, apply any locally defined patches. | |
| 533 | 535 | RUN /bin/bash -c \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,5 +23,7 @@ RUN pip install --upgrade git+https://github.com/Kaggle/learntools | |||
| 23 | 23 | # Set up an initialization script to be executed before any other commands initiated by the user. | |
| 24 | 24 | ADD patches/entrypoint.sh /root/entrypoint.sh | |
| 25 | 25 | RUN chmod +x /root/entrypoint.sh | |
| 26 | - # This script gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution. | ||
| 27 | - ENTRYPOINT ["/root/entrypoint.sh"] | ||
| 26 | + # This script gets executed by "docker run <image> <command>" and it runs <command> at the end of its execution. | ||
| 27 | + # NOTE: ENTRYPOINT set by "FROM <image>" should preceed the our own custom entrypoint. | ||
| 28 | + # Specifically, tini can be combined with another entrypoint (https://github.com/krallin/tini). | ||
| 29 | + ENTRYPOINT ["/usr/bin/tini", "--", "/root/entrypoint.sh"] | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments