-
Notifications
You must be signed in to change notification settings - Fork 314
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
Cannot install plugin ratelimit #220
Comments
Did something upstream break the build system? I was getting this with plugins="git,login,jwt" and so I tried:
i.e. default build variables. I got:
|
@abiosoft Any idea what the problem is? |
I'm experiencing this too, with cors, expires and git plugins. I've tried updating from 1.0.1 to 1.0.3 and no luck. Has previously been working on a slight variation of the Dockerfile-no-stats, now with no changes it suddenly won't build. |
For reference, my dockerfile is
and my error output is similar:
|
Let me try to reproduce this. |
@abiosoft Did you succeed to reproduce the issue? |
I have the same problem since last week. But I'm wondering that this breaks because there was no new changes in the builder image. |
Small update from me - I had to rebuild it quickly, so ended up using the Dockerfile from https://hub.docker.com/r/productionwentdown/caddy/dockerfile as my base. However, what I did notice was this: productionwentdown/caddy#4 (comment) Basically, you have to use the full name of the package, such as "github.com/captncraig/caddy-realip" Mine is now up and running so I won't be re-trying this one, but it might be worth a quick test with the full plugin name, to see if that fixes it. |
Some things have changed since the release of Caddy 2 beta. I'm working on updating caddy-docker to be compatible with Caddy 2. After that, these issues would be resolved. |
i've started seeing the same with other plugins too but wasn't able to get it working with @andrewandante's workaround. @abiosoft anything we can do to help? |
FYI, the change proposed in #223 as a workaround allows building an image with the desired plugins. |
@lpellegr aha, thanks for pointing that out! |
Can confirm this fixes the issue for me. |
Here is the command used:
and the ouput error:
The plugin name
ratelimit
is found when I test withcaddyplug install ratelimit
.Any idea what the problem is? how can I build this great caddy image with the ratelimit plugin?
The text was updated successfully, but these errors were encountered: