This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
RUN bash -c "Docker container started." | |
RUN echo "import time\nprint(\"Waiting 5 seconds...\")\ntime.sleep(5)\nprint(\"Done!\")" > script.py | |
ENTRYPOINT python script.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
RUN echo "import time\nprint(\"Waiting 3 seconds...\")\ntime.sleep(3)\nprint(\"Done!\")" > unbuffer.py | |
ENV PYTHONUNBUFFERED=1 | |
ENTRYPOINT python unbuffer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
RUN echo "import time\nprint(\"Waiting 3 seconds...\")\ntime.sleep(3)\nprint(\"Done!\")" > buffer.py | |
#ENV PYTHONUNBUFFERED=1 | |
ENTRYPOINT python buffer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
RUN echo "import time\nprint(\"Waiting 3 seconds...\")\ntime.sleep(3)\nprint(\"Done!\")" > buffer.py | |
ENV PYTHONUNBUFFERED=1 | |
ENTRYPOINT python buffer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
RUN echo "import time\nprint(\"Hello\")\ntime.sleep(3)\nprint(\"world!\")" > buffer.py | |
#ENV PYTHONUNBUFFERED=1 | |
ENTRYPOINT python buffer.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0/1] RUN | |
INFO:MainThread:launcher.main: Running Knossos 0.12.3 on PyQt5 and Python 3.6.5 (default, Apr 1 2018, 05:46:30) | |
[GCC 7.3.0]. | |
INFO:MainThread:launcher.main: OpenSSL version: OpenSSL 1.1.0g 2 Nov 2017 | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile | |
libpng warning: iCCP: known incorrect sRGB profile |