mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Disable Python buffering
This commit is contained in:
parent
232dc8caa9
commit
2c74e722ae
1 changed files with 4 additions and 0 deletions
|
@ -10,5 +10,9 @@ RUN pip3 uninstall -y buildozer
|
||||||
# See https://github.com/sudo-project/sudo/issues/42
|
# See https://github.com/sudo-project/sudo/issues/42
|
||||||
RUN echo "Set disable_coredump false" | sudo tee -a /etc/sudo.conf > /dev/null
|
RUN echo "Set disable_coredump false" | sudo tee -a /etc/sudo.conf > /dev/null
|
||||||
|
|
||||||
|
# By default Python buffers output and you see prints after execution
|
||||||
|
# Set env variable to disable this behavior
|
||||||
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
COPY entrypoint.py /action/entrypoint.py
|
COPY entrypoint.py /action/entrypoint.py
|
||||||
ENTRYPOINT ["/action/entrypoint.py"]
|
ENTRYPOINT ["/action/entrypoint.py"]
|
||||||
|
|
Loading…
Reference in a new issue