Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile is buggy #1798

Open
unton83 opened this issue Apr 4, 2024 · 5 comments
Open

Dockerfile is buggy #1798

unton83 opened this issue Apr 4, 2024 · 5 comments

Comments

@unton83
Copy link

unton83 commented Apr 4, 2024

Description

Please, refer to https://buildozer.readthedocs.io/en/latest/installation.html for installation tips for Dockerfile.

  1. We need to use stable LTS, not latest one.
    FROM ubuntu:22.04
  2. Additional packages to install: libltdl-dev, wget, vim.
  3. We don't need to do COPY --chown=user:user . ${SRC_DIR}, because we run container with --volume "$PWD":/home/user/hostcwd.
  4. 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
  1. 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 with vim, or do buildozer appclean or something else.
@manatlan
Copy link
Contributor

manatlan commented May 1, 2024

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 : #1804 ;-)

@misl6
Copy link
Member

misl6 commented May 5, 2024

#1804 merged, anything else we should fix?

@unton83
Copy link
Author

unton83 commented May 11, 2024

I'm new in github issues tracker. Do i need to do something with awaiting-reply label? Do i need to close the issue?

@misl6
Copy link
Member

misl6 commented May 11, 2024

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.

@unton83
Copy link
Author

unton83 commented May 11, 2024

No, my issue is wider, not just ubuntu version. Nothing else, but only things, that i mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants