[GH-ISSUE #2161] Consider adding piwheels to fix Raspberry Pi compile error #1550

Closed
opened 2026-02-26 07:31:31 +03:00 by kerem · 2 comments
Owner

Originally created by @AllanChain on GitHub (Jul 19, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2161

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

Originally created by @AllanChain on GitHub (Jul 19, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2161 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **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: - #1955 - #2070 - #2138 **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> 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`: ```ini [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** <!-- A clear and concise description of any alternative solutions or features you've considered. --> As a workaround, users can create `./app/Dockerfile` ```docker 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: ```yaml # image: 'jc21/nginx-proxy-manager:latest' build: ./app ``` **Additional context** <!-- Add any other context or screenshots about the feature request here. -->
kerem 2026-02-26 07:31:31 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 13, 2024):

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

<!-- gh-comment-id:1940167905 --> @github-actions[bot] commented on GitHub (Feb 13, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Mar 28, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2759992326 --> @github-actions[bot] commented on GitHub (Mar 28, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1550
No description provided.