buildozer
buildozer copied to clipboard
Dockerfile is buggy
Description
Please, refer to https://buildozer.readthedocs.io/en/latest/installation.html for installation tips for Dockerfile.
- We need to use stable LTS, not latest one.
FROM ubuntu:22.04
- Additional packages to install:
libltdl-dev
,wget
,vim
. - We don't need to do
COPY --chown=user:user . ${SRC_DIR}
, because we run container with--volume "$PWD":/home/user/hostcwd
. - We need to install dependencies and buildozer (it is missing in current Dockerfile) running:
RUN pip3 install --user --upgrade Cython==0.29.33 virtualenv # without dir
RUN pip3 install --user --upgrade buildozer
RUN echo "export PATH=$PATH:~/.local/bin/" >> ~/.bashrc
- I think, entrypoint can be
["/bin/bash"]
not["buildozer"]
, because, when we run container with--volume "$HOME/.buildozer":/home/user/.buildozer
and-it
, we can edit some code withvim
, or dobuildozer appclean
or something else.
Yes I confirm ;-)
the DockerFile doesn't work AS IS with ubuntu:latest (which is now a 24.04) ... but it works as expected with ubuntu:22.04 !
Here is a fork : https://github.com/manatlan/buildozer
and here is a simple PR : https://github.com/kivy/buildozer/pull/1804 ;-)
#1804 merged, anything else we should fix?
I'm new in github issues tracker. Do i need to do something with awaiting-reply label? Do i need to close the issue?
If the issue got fixed via #1804, please close the issue. If you think we should fix something else, feel free to propose changes via a PR or here.
awaiting-reply
is an automated label used to close issues after a period of inactivity.
No, my issue is wider, not just ubuntu version. Nothing else, but only things, that i mentioned.