Skip to content

Consider adding piwheels to fix Raspberry Pi compile error #2161

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

Closed
AllanChain opened this issue Jul 19, 2022 · 2 comments
Closed

Consider adding piwheels to fix Raspberry Pi compile error #2161

AllanChain opened this issue Jul 19, 2022 · 2 comments

Comments

@AllanChain
Copy link

Is your feature request related to a problem? Please describe.
Yes. There are many reports of DNS package installation failure on Raspberry Pi, for example:

Describe the solution you'd like

The packages need compilation because no binary for ARM is found on PyPI. But we can avoid the compilation by adding piwheels.org to /etc/pip.conf:

[global]
extra-index-url=https://www.piwheels.org/simple

Maybe we can add the index conditionally based on the CPU architecture. But I'm not very familiar with docker and not sure how to do this.

Describe alternatives you've considered

As a workaround, users can create ./app/Dockerfile

FROM jc21/nginx-proxy-manager:latest

RUN echo -e "[global]\nextra-index-url=https://www.piwheels.org/simple" > /etc/pip.conf
RUN pip install certbot-dns-<your provider> --no-cache-dir

ENTRYPOINT [ "/init" ]

And change docker-compose.yml to:

    # image: 'jc21/nginx-proxy-manager:latest'
    build: ./app

Additional context

Copy link

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Feb 13, 2024
Copy link

Issue was closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant