1
0
Fork 0
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:
Artem Bulgakov 2020-07-31 22:16:38 +03:00 committed by GitHub
parent 232dc8caa9
commit 2c74e722ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"]