1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00
gh-buildozer-action/Dockerfile
2020-07-31 22:16:38 +03:00

18 lines
657 B
Docker

FROM kivy/buildozer:latest
# See https://github.com/kivy/buildozer/blob/master/Dockerfile
# Buildozer will be installed in entrypoint.py
# This is needed to install version specified by user
RUN pip3 uninstall -y buildozer
# Remove a lot of warnings
# sudo: setrlimit(RLIMIT_CORE): Operation not permitted
# See https://github.com/sudo-project/sudo/issues/42
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
ENTRYPOINT ["/action/entrypoint.py"]