Skip to content

Docker image - Please include zope directly when building image #2997

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

Open
thomaslc66 opened this issue Jun 13, 2023 · 12 comments
Open

Docker image - Please include zope directly when building image #2997

thomaslc66 opened this issue Jun 13, 2023 · 12 comments
Labels

Comments

@thomaslc66
Copy link

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
Zope not installed by default in the docker image, meaning that each restart we need to do a pip install zope

Nginx Proxy Manager Version
:latest

Expected behavior
pip install zope should be done and included in the already existing docker image.
The docker image should be totally working without having to install additional packages.

@thomaslc66 thomaslc66 added the bug label Jun 13, 2023
@ipedrazas
Copy link

The bit that worries me the most is not that you think that zope should be installed by default, what worries me is that you install zope after each restart...

Have you thought about creating your own Docker image?

FROM  jc21/nginx-proxy-manager:latest
RUN pip install zope

@thomaslc66
Copy link
Author

Whooooaaa, what a condescending way to answer.

The real question is why, if it's something that is required in order to renew certificates, and if there are multiple issues raised about it, it's not already done in the initial docker file. Plus I'm using that in an Unraid server and creating an image would work but this would mean having to update everything manually when Unraid offers a way to automatically update as new versions are published and I don't know how you deal with your proxy server but for me, it's up and running most of the time, so there's no "reboot" except maybe once or twice a year.

@SignFinder
Copy link

SignFinder commented Jul 4, 2023

Whooooaaa, what a condescending way to answer.

Might @ipedrazas answered by this way, because your question looks impolite?
You trying to waste the time of another people and NPM developer to solve your trivial and personal problem.
And after the answer - how to solve your problem by such standard and ordinary way - you continue to steal others time.

@thomaslc66
Copy link
Author

thomaslc66 commented Aug 2, 2023

@SignFinder Let's agree to disagree.

I will not take into consideration that you think my problem is trivial and personal because you clearly have done no research with your precious time. There are multiple issues related to this package in this repository. If for you the resolution of all those issues is "Create your own docker image" it means that all those people have to do it and if all those people have to do it, why not do it directly in the main repository and help everybody at the same time?

If you were using your time correctly you would see that this is impacting a lot of people:
#2825
#3015
#2994
#2678
#2709

There's even pull request of people trying to help:
#2756

So I don't think I'm stealing people's time and clearly not NPM developer as pip is related to python and NPM to node/js, but clearly, you are not using yours to help.

Have a nice one

@jc21
Copy link
Member

jc21 commented Aug 3, 2023

FWIW I'm not putting much if any attention into the v2 codebase, particularly with (and because of) these certbot plugin issues and never-ending python problems. V3 will Acme.sh instead of Certbot.

@DuvelCorp
Copy link

DuvelCorp commented Nov 26, 2023

Whooooaaa, what a condescending way to answer.

Might @ipedrazas answered by this way, because your question looks impolite? You trying to waste the time of another people and NPM developer to solve your trivial and personal problem. And after the answer - how to solve your problem by such standard and ordinary way - you continue to steal others time.

How can you state that this is a trivial problem.? And also where did you see that he was being impolite ?
Everything he stated was absolutely right and legit.
The whole paradigm of containerization is that any component needed by any other component in your container, should be bundled in the image. Having to manually install in your container, things needed by a major feature (ie handling certs) of that container, is an abomination. And the issue is there for > 1 year so why is it not in the container yet???

@qdrop17
Copy link

qdrop17 commented Dec 5, 2023

FWIW I'm not putting much if any attention into the v2 codebase, particularly with (and because of) these certbot plugin issues and never-ending python problems. V3 will Acme.sh instead of Certbot.

I genuinely appreciate this project, but isn't it a bit problematic for the trust (in this project) if such fixes / PRs don't get merged (even for older codebases)? Because the issue with the custom Dockerfile is that it's quite cumbersome to push updates to users (such as security updates via Watchtower) which is also very important for the trust in an opensource project - especially if it's often an internet-facing service.

I didn't find any issues that come with installing zope despite the image gaining couple of MB.

@Paillat-dev
Copy link

Yes. I am in a position where I am unable to use this project with docker swarm UNLESS I rebuild the image and push it to my own registry. For a dumb dependency issue that can be fixed in 2 lines.

@Paillat-dev
Copy link

Not wanting to advertise, just to be helpful with anyone here, an image with zope installed can be found here ghcr.io/paillat-dev/npm-with-dependencies:main

@qdrop17
Copy link

qdrop17 commented Jan 4, 2024

yes, same here: no advertising, but https://github.com/ZoeyVid/NPMplus is an additional option with some additional security features baked in.

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 Jul 23, 2024
@Paillat-dev
Copy link

Paillat-dev commented Jul 23, 2024 via email

@github-actions github-actions bot removed the stale label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants