2020-06-23 13:57:51 +02:00
|
|
|
FROM kivy/buildozer:latest
|
|
|
|
# See https://github.com/kivy/buildozer/blob/master/Dockerfile
|
|
|
|
|
2020-07-20 20:54:22 +02:00
|
|
|
# Buildozer will be installed in entrypoint.py
|
2020-06-23 14:08:59 +02:00
|
|
|
# This is needed to install version specified by user
|
|
|
|
RUN pip3 uninstall -y buildozer
|
|
|
|
|
2020-06-23 14:01:41 +02:00
|
|
|
# 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
|
|
|
|
|
2020-07-31 21:16:38 +02:00
|
|
|
# By default Python buffers output and you see prints after execution
|
|
|
|
# Set env variable to disable this behavior
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
|
2020-07-20 20:54:22 +02:00
|
|
|
COPY entrypoint.py /action/entrypoint.py
|
|
|
|
ENTRYPOINT ["/action/entrypoint.py"]
|